Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-21 Thread Joe
There have been a lot of posts on the list lately about issues with hard links. It has been very interesting, but I don't understand it very thoroughly. I haven't used hard links for anything yet. I've used symlinks - not for backups, of course - and have seen them get broken or deleted in backu

RE: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-21 Thread Tony Abernethy
...@lists.samba.org] On Behalf Of Joe Sent: Tuesday, January 22, 2013 1:32 AM To: rsync@lists.samba.org Subject: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links? There have been a lot of posts on the list lately about issues with hard links. It has been very

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Here is one I wrote up for a LUG presentation that is specifically about doing it yourself: http://sanitarium.net/golug/rsync_backups_2010.html On 01/22/13 02:31, Joe wrote: > There have been a lot of posts on the list lately about issues with > hard

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Joe
(Even that simple thing has interesting ways to get complicated.) > > -Original Message- > From: rsync-boun...@lists.samba.org [mailto:rsync-boun...@lists.samba.org] On > Behalf Of Joe > Sent: Tuesday, January 22, 2013 1:32 AM > To: rsync@lists.samba.org > Subjec

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread François
ays to get complicated.) > > > > -Original Message- > > From: rsync-boun...@lists.samba.org > > [mailto:rsync-boun...@lists.samba.org] On Behalf Of Joe Sent: Tuesday, > > January 22, 2013 1:32 AM > > To: rsync@lists.samba.org > > Subject: Is ther

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Joe
Thank you! I will read it and see where to go from there. Joe On 01/22/2013 12:44 PM, Kevin Korb wrote: > Here is one I wrote up for a LUG presentation that is specifically > about doing it yourself: > http://sanitarium.net/golug/rsync_backups_2010.html > > On 01/22/13 02:31, Joe wrote: > > The

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Joe
Thanks. Will read. Joe On 01/22/2013 05:31 PM, François wrote: > Hi Joe, > > If you want to understand hard-links, just take a look at Wikipedia : > http://en.wikipedia.org/wiki/Hard_link#Example > > I think it's pretty easy to understand. > > To understand how hard-links (and rsync) can help yo

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Ashley M. Kirchner
Assuming you do many backups and many of the files do not change, > > > hard links are your friend. > > > > > > Backing up soft links: > > > Do you back up the link or what the link points to? > > > (Even that simple thing has interesting ways to get complicated.) >

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Kevin Korb
> span file >>> systems. >>> >>> Assuming you do many backups and many of the files do not >>> change, hard links are your friend. >>> >>> Backing up soft links: Do you back up the link or what the link >>> points to? (Even that simple thin

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Kevin Korb
>>>> systems. >>>> >>>> Assuming you do many backups and many of the files do not >>>> change, hard links are your friend. >>>> >>>> Backing up soft links: Do you back up the link or what the >>>> link points to? (

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-22 Thread Ashley M. Kirchner
48 AM, Tony Abernethy wrote: > >>>> This may help: (man ln) > >>>> > >>>> A hard link to a file is indistinguishable from the original > >>>> directory entry; any changes > >> to a > >>>> file are effectively independent of the

RE: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-23 Thread Voelker, Bernhard
Kevin Korb wrote: > On 01/22/13 18:12, Kevin Korb wrote: > > That is the old way that pre-dates --link-dest. Instead of cp -al > > daily.02 daily.01 you can do a mkdir daily.01 then an rsync ... > > --link-dest=../daily.02 daily.01 > > > > Rsync then doesn't need any --delete and you don't both

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-23 Thread Karl O. Pinc
On 01/23/2013 02:15:06 AM, Voelker, Bernhard wrote: > Kevin Korb wrote: > > On 01/22/13 18:12, Kevin Korb wrote: > > > That is the old way that pre-dates --link-dest. Instead of cp - > al > > > > daily.02 daily.01 you can do a mkdir daily.01 then an rsync ... > > > --link-dest=../daily.02 daily.

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-23 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I handle this by actually backing up to "backupname.incomplete". Once the backup is complete I then rename it to "backupname.-mm-dd.HH-MM-SS". That way all of the backups with date+time stamps in the name are completed backups and if a backup fai

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-23 Thread Ashley M. Kirchner
Oh, absolutely my script has flaws in it. I will never claim anything I create or use to not have any flaws. :) The machines it runs on are strictly servers that rarely get shutdown though. The only time that happens if if there's a power failure that lasts longer than 30 minutes (which has only

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-01-31 Thread Henri Shustak
You may be interested in having a look at LBackup , an open source (released under the GNU GPL) backup system. Essentially, LBackup is a wrapper for rsync. If you are working on your own script. Feel free to look at how LBackup works (primely written in bash at present)

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-02-01 Thread Joe
Thanks. I'm taking a look at it. May take awhile to see if it fits my needs. It sounds promising. Joe On 01/31/2013 04:36 PM, Henri Shustak wrote: > You may be interested in having a look at LBackup , > an open source (released under the GNU GPL) backup system. > > Ess

Re: Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?

2013-02-01 Thread Karl O. Pinc
Here's my rsync based backup system. http://wikisend.com/download/377440/rsync_backup-0.26.tar.gz It's an rsync based backup system utilizing hard links to reduce storage requirements. It supports both push and pull. It uses public keys with ssh for the transport. It works and I've used it for