[opensuse] backup based on file size
Hello :-) I use many very big files (cd or dvd images, video files) that are backedup manually. So I would like to make a full backup of my Hard Drive to an other hard drive (usb), but only for file smaller than - say - 500Mo what is the simpler (and faster, still more than 100Gb to backup) way to do this? thanks jdd -- http://www.dodin.net http://valerie.dodin.org http://www.youtube.com/watch?v=t-eic8MSSfM http://www.facebook.com/profile.php?id=1412160445 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd wrote:
Hello :-)
I use many very big files (cd or dvd images, video files) that are backedup manually.
So I would like to make a full backup of my Hard Drive to an other hard drive (usb), but only for file smaller than - say - 500Mo
what is the simpler (and faster, still more than 100Gb to backup) way to do this?
find + tar/cpio. -- Per Jessen, Zürich (4.0°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2009-03-09 at 11:29 +0100, Per Jessen wrote:
So I would like to make a full backup of my Hard Drive to an other hard drive (usb), but only for file smaller than - say - 500Mo
what is the simpler (and faster, still more than 100Gb to backup) way to do this?
find + tar/cpio.
Backup to an external HD via USB usually works better with rsync. This two parameters would do the trick, I hope: --max-size=SIZE don't transfer any file larger than SIZE --min-size=SIZE don't transfer any file smaller than SIZE that would have to be added to the normal set of parameters, like for example "--archive --acls --xattrs --hard-links --del --stats - --human-readable" - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm0/fsACgkQtTMYHG2NR9UZAACfd9GZvXeosvinho7UrnRo9Gn/ p0UAmQGIT4MQ0x8oGz5j9eNHpeA26OH8 =lbC2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
On Monday, 2009-03-09 at 11:29 +0100, Per Jessen wrote:
So I would like to make a full backup of my Hard Drive to an other hard drive (usb), but only for file smaller than - say - 500Mo
what is the simpler (and faster, still more than 100Gb to backup) way to do this?
find + tar/cpio.
Backup to an external HD via USB usually works better with rsync.
Why is that? Is the connection not stable? /Per -- Per Jessen, Zürich (4.8°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday, 2009-03-09 at 12:42 +0100, Per Jessen wrote:
find + tar/cpio.
Backup to an external HD via USB usually works better with rsync.
Why is that? Is the connection not stable?
If you don't compress the files, it is better to have a tree of directly accessible files on the external HD. If you want to recover any file, you just fire up your preferred file browser (konqueror, midnight commander) and directly fetch the file. If they are tarred, you have to untar them. Also, remember that USB is "slow", so any IO on the disk will be slow. If you have to browse the tar, it will go slow. Plus, it is far easier rsync if you intend to have incremental backups: for each one you get a new directory with the new files, and all the old files hardlinked from the previous copy, so that you can look at the state of any day you made a backup, and at the same time, save space by only having a single copy - which means you also save a lot of time when making the backup. If you want compressed backups things are different. Still, there are other tools like rdiff-backup or rsnapshot to make things easier. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm1JNgACgkQtTMYHG2NR9V22gCfd4u5Y8tgmLUZ3hrHkYaa5hS5 xYoAoIsQLI9Ru6mDyFsXsr7YfVrmMOv6 =fqiM -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday, 2009-03-09 at 12:42 +0100, Per Jessen wrote:
find + tar/cpio.
Backup to an external HD via USB usually works better with rsync.
Why is that? Is the connection not stable?
If you don't compress the files,
oh, I wasn't assuming that the backup wouldn't be compressed.
Plus, it is far easier rsync if you intend to have incremental backups: for each one you get a new directory with the new files, and all the old files hardlinked from the previous copy,
Yeah, I use that method too for my in-house backups. -- Per Jessen, Zürich (5.3°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009-03-09 11:16, jdd wrote:
Hello :-)
I use many very big files (cd or dvd images, video files) that are backedup manually.
So I would like to make a full backup of my Hard Drive to an other hard drive (usb), but only for file smaller than - say - 500Mo
what is the simpler (and faster, still more than 100Gb to backup) way to do this?
thanks jdd
If you already know rsync, it has the options --max-size and --min-size available. /Sylvester -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Carlos E. R.
-
jdd
-
Per Jessen
-
Sylvester Lykkehus