SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
first backup copy of local file system not using hard link
Author Message
Post first backup copy of local file system not using hard link 
I found that even though I specified cmd_cp command to tell rsnapshot to use hardlink whenever possible, it uses hard link between different back up copies, but not the first copy, i.e., I have at least one full back (doubled my current data size).

Is there any reason rsnapshot is not using hard link when it makes the first backup, i.e., a hard link from source data to the backup copy when the backup is on the same file system as the original? Given it is hard link, we are not any at higher risk then using regular copy, no?

Thanks

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post first backup copy of local file system not using hard link 
Hallo, Jiangcheng,

Du meintest am 24.04.11:

Is there any reason rsnapshot is not using hard link when it makes
the first backup, i.e., a hard link from source data to the backup
copy when the backup is on the same file system as the original?

"rsnapshot" knows nothing about other files (outside the
"snapshot_root") in the target partition, and it doesnt't search wether
there is another file (outside the "snapshot_root") on the target
partition which may be hard linked.

And I won't have another behaviour (per default) with my backups.

If you want to hardlink several backups from different "rsnapshot_root"
directories then try "hardlink" from Dag Wieers:

<http://helmut.hullen.de/filebox/Linux/slackware/ap/hardlink-1.2-i486-1hln.tgz>

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post first backup copy of local file system not using hard link 
Hallo,

Am Montag, 25. April 2011 04:31 schrieb Jiangcheng Bao:
I found that even though I specified cmd_cp command to tell rsnapshot to
use hardlink whenever possible, it uses hard link between different back
up copies, but not the first copy, i.e., I have at least one full back
(doubled my current data size).

Is there any reason rsnapshot is not using hard link when it makes the
first backup, i.e., a hard link from source data to the backup copy when
the backup is on the same file system as the original? Given it is hard
link, we are not any at higher risk then using regular copy, no?
If your original file is corrupted, you can still use your backup, if its
NOT a hardlink...

--
Herzliche Gre!
Rolf Muth

Meine Adressen duerfen nicht fuer Werbung verwendet werden!
PGP Public Key fuer Rolf Muth 0xF8DC41935544C89A auf http://pgp.mit.edu/
Analoge Uhr (clock): http://www.heise.de/software/download/analoge_uhr/61872

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been
demonstrated beyond question. Learn why your peers are replacing JEE
containers with lightweight application servers - and what you can gain
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post first backup copy of local file system not using hard link 
On Sun, Apr 24, 2011 at 10:31:53PM -0400, Jiangcheng Bao wrote:

I found that even though I specified cmd_cp command to tell rsnapshot to use hardlink whenever possible, it uses hard link between different back up copies, but not the first copy, i.e., I have at least one full back (doubled my current data size).

Is there any reason rsnapshot is not using hard link when it makes the first backup, i.e., a hard link from source data to the backup copy when the backup is on the same file system as the original?

That's just because it assumes you don't want to do that. I think this
is a valid assumption for the vast majority of users, because:

* almost everyone will be backing up to another physical device and
another filesystem;
* even if you're backing up to the same filesystem, you want a
*backup*, to protect you against things like a disk sector becoming
unreadable. Using hard links like you propose would not do that, and
all you'd have is, effectively, a version control system.

--
David Cantrell | Reality Engineer, Ministry of Information

Godliness is next to Englishness

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post first backup copy of local file system not using hard link 
Hallo, Jiangcheng,

Du meintest am 24.04.11:

Is there any reason rsnapshot is not using hard link when it makes
the first backup, i.e., a hard link from source data to the backup
copy when the backup is on the same file system as the original?
Because a 2nd hardlink to the original file is not a backup. A backup,
by definition, is another copy in a different location.

If rsnapshot just hardlinked the original file, then if the original
file goes bad, so does the hardlinked file. Making the backup somewhat
useless.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB