Welcome to Centmin Mod Community
Register Now

Sysadmin Anyone tried RSnapShot alternative: Obnam

Discussion in 'System Administration' started by ethanpil, Jan 13, 2016.

Tags:
  1. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    6:21 AM
    I have been researching new backup tools lately, and one utility keeps coming back with stellar reviews: Obnam

    Does anyone have any experience with this tool? Seems too good to be true...
     
    • Like Like x 1
  2. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    10:21 PM
    1.9.9
    10.1.10
    • Like Like x 2
  3. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    have heart of Obnam but never used it yet though

    maybe when i have more time :)
     
  4. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    10:21 PM
    1.9.12
    10.0.23
  5. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    10:21 PM
    1.9.12
    10.0.23
    After a little non scientific test I personally ended up with - Borg Documentation — Borg - Deduplicating Archiver 0.30.0 documentation - as my choice. The use of it is similar to - Welcome to Attic — Attic - Deduplicating Archiver 0.16 documentation - but has as more active development - GitHub - borgbackup/borg: Deduplicating backup program with compression and authenticated encryption. - and that is a good point for me. I did read some post about - Obnam - backup program - being slow in some cases. But have never tested it.

    Hope it not to much OT - but as @ethanpil mention in this post - https://community.centminmod.com/posts/24854/ - I also think we should have some backup out of centminmod box ..
     
    Last edited: Jan 26, 2016
    • Informative Informative x 1
  6. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 3
  7. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    6:21 AM
    I dont see this file in the github repo for 09 beta.... How do I access/view dbbackup.sh?
     
  8. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    10:21 PM
    1.9.9
    10.1.10
    It is for premium members only, worth the money plus you support centminmod this way too :p
     
    • Like Like x 2
  9. eva2000

    eva2000 Administrator Staff Member

    28,984
    6,579
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,766
    Local Time:
    6:21 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  10. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    6:21 AM
    @ModeltogTossen I have been researching as well. It seems indeed that Borg is the best solution. How has it been going for you?
     
  11. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    10:21 PM
    1.9.12
    10.0.23
    Very well indeed - this coming weekend I will try to do more 'advanced' stuff with it.. For now I just have a cron to do the basic backup to another disc and then one more time to another disc/another server - mounted with sshfs. Love it is at strong word - but I'm near to say it. ;-)
     
    • Informative Informative x 1
  12. ModeltogTossen

    ModeltogTossen I wish I could??

    313
    97
    28
    Dec 20, 2015
    Denmark
    Ratings:
    +143
    Local Time:
    10:21 PM
    1.9.12
    10.0.23
    @ethanpil - I just took one manually backup local/remote so you can see - Do not use so much time..

    Code:
    [root@sarah tools]# borg-env/bin/borg create -v --stats --compression lz4 /backupstore/borgstorage::mt-backup-`date +%Y-%m-%d` /home/nginx/domains/modeltog-tossen.dk/public  
    Using a pure-python msgpack! This will result in lower performance.
    reading files cache
    processing files
    ------------------------------------------------------------------------------
    Archive name: mt-backup-2016-02-05
    Archive fingerprint: 2300dc10d9d5e5f970306875c250be5f7c920be2c9d5e2489991446432da9f2f
    Start time: Fri Feb  5 10:16:39 2016
    End time: Fri Feb  5 10:18:13 2016
    Duration: 1 minutes 33.76 seconds
    Number of files: 31948
    ------------------------------------------------------------------------------
                           Original size      Compressed size    Deduplicated size
    This archive:                2.27 GB              2.02 GB             61.69 MB
    All archives:                8.01 GB              7.61 GB              2.35 GB
    
                           Unique chunks         Total chunks
    Chunk index:                   51878               186136
    ------------------------------------------------------------------------------
    [root@sarah tools]# borg-env/bin/borg create -v --stats --compression lz4 /backupstore/borgremote/borgstorage::mt-backup-`date +%Y-%m-%d` /home/nginx/domains/modeltog-tossen.dk/public
    Using a pure-python msgpack! This will result in lower performance.
    reading files cache
    processing files
    ------------------------------------------------------------------------------
    Archive name: mt-backup-2016-02-05
    Archive fingerprint: e5a20f0b32674d2eb025857ea0d75e3578aca17249603a1c98d04d0c16cb0707
    Start time: Fri Feb  5 10:19:03 2016
    End time: Fri Feb  5 10:20:53 2016
    Duration: 1 minutes 49.58 seconds
    Number of files: 31958
    ------------------------------------------------------------------------------
                           Original size      Compressed size    Deduplicated size
    This archive:                2.27 GB              2.02 GB             61.71 MB
    All archives:                8.01 GB              7.61 GB              2.35 GB
    
                           Unique chunks         Total chunks
    Chunk index:                   51883               186149
    ------------------------------------------------------------------------------
    
     
    • Informative Informative x 1
  13. ethanpil

    ethanpil Active Member

    168
    47
    28
    Nov 8, 2015
    Ratings:
    +87
    Local Time:
    6:21 AM