[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tar on flash drive



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ron Johnson wrote:
>>
>> does this mean you are excluding backing up email?
>
> In that command.  The next two statements, though, are:
>
> tar cvpsfj ${dest}/bkup_${y}_${x}-mail_ron.tar.bz2 home/me/Maildir
>
> tar cvpsfj ${dest}/bkup_${y}_${x}-mail_heather.tar.bz2 \
>     home/heather/Maildir
>
> I do that since my bkup_${y}_${x}-home.tar.bz2 gets quite large, and
> this makes it faster if I only have to restore some email.

I use

optionen="-x --link-dest=/media/kleine500/home/sicherung/home
- --exclude=sicherung/"
quelle=/media/schnappschuss/
ziel=/media/kleine500/home/sicherung/home-$starttime
rsync $optionen -av --delete $quelle $ziel

/media/schnappschuss is my lvm snapshot created just for the purpose of
a consistent backup.

I guess that's _much_ faster than both your backup and restore. Of
course you reduce space by compression, but IMHO nowadays disk space is
cheaper than my time or my computer's time. I gain WRT time and disk
space by hard linking unchanged files. YMMV.

Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl0gwEACgkQC1NzPRl9qEXEtACcDE6GRW5LJlL/yxXNLgQEriy7
z6QAn2WOihpdLrlaPzbl4BsNYl5RluSs
=rEZy
-----END PGP SIGNATURE-----


Reply to: