Re: Backup scripts

2014-09-04 Thread Henri Shustak
Hello, You may want to check out the LBackup source code as a possible starting point if you are looking to create your own customised backup script : http://www.lbackup.org/source Disclaimer : I am involved with the development of LBackup. -

Re: Backup scripts

2014-09-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That is how to do an incremental backup. But rsync can do a snapshot with --link-dest instead of --backup. The big difference is that with - --link-dest each backup will contain the entire tree not just the different files. Therefore if you need to

Re: Backup scripts

2014-09-04 Thread Greg Deback (rsync)
Hi, I think the words used are not correct, that's why you (and Kevin) are a bit confused. You are in fact asking for "incremental" backup, not a "snapshot" : http://en.wikipedia.org/wiki/Snapshot_(computer_storage). In this case, you can use rsync with a few flags to delete (or move in another di

Re: Backup scripts

2014-09-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Just to show you what rsync snapshots should look like here is a really quick and dirty script that will make a complete backup then a snapshot using most of the information from your scripts: http://dpaste.com/27V2WAF Note that it just makes 2 backup

Re: Backup scripts

2014-09-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, you have different scripts now at least. But I still don't see any snapshotting. The only difference in these is that the "full" one rsyncs to a date+time stamped directory while the "snapshot" one rsyncs to a directory named snapshot. As far a

Re: Backup scripts

2014-09-04 Thread Chris
On Thu, 2014-09-04 at 17:00 -0400, Kevin Korb wrote: > Do you actually have any snapshots currently? From the scripts you > posted it seems to just be rsyncing to the same dir every run and only > claiming to be making snapshots. If you do have snapshots now then > something else is happening in

Re: Backup scripts

2014-09-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Do you actually have any snapshots currently? From the scripts you posted it seems to just be rsyncing to the same dir every run and only claiming to be making snapshots. If you do have snapshots now then something else is happening in addition to th

Re: Backup scripts

2014-09-04 Thread Chris
On Thu, 2014-09-04 at 12:46 -0400, Kevin Korb wrote: > The scripts you posted look the same to me. And I don't see any form > of snapshotting. The $NOW variable is set and is echoed but it is > never actually used. For an rsync snapshot I would expect to see > either rsync --link-dest or a cp -a

Re: [PATCH] rrsync: Add several long options used by BackupPC

2014-09-04 Thread Wayne Davison
On Tue, Sep 2, 2014 at 9:26 AM, Jakob Unterwurzacher < jakob.unterwurzac...@theobroma-systems.com> wrote: > rrsync used to throw the error > > /usr/local/bin/rrsync: invalid rsync-command syntax or options > > when run under BackupPC 3.2.1, with this patch full and incremental > backups wo

Re: Backup scripts

2014-09-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The scripts you posted look the same to me. And I don't see any form of snapshotting. The $NOW variable is set and is echoed but it is never actually used. For an rsync snapshot I would expect to see either rsync --link-dest or a cp -al depending on

Backup scripts

2014-09-04 Thread Chris
I have two scripts that a kind soul on this list wrote for me over 4yrs ago. I got to looking at them the other day because my old box crashed and had to build a new one also got a new backup USB drive since I'm still copying over things from the old one. The first one is for a full backup: http:/