Re: Backing up root volume

Denis Corbin <[email protected]> Wed, 27 Dec 2006 12:46:47 +0100
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
T wrote:
> Hi,

Hello,

> 
> The DAR Tutorial suggests to use the following switches when backing up
> the root volume specifically:
> 
>   -P dev/pts -P proc
> 
> I'm wondering if it is still true for modern Linux, especially for Linux
> 2.6 in which UDev is used.

This has never intended to be exhaustive. This today, the /sys 
filesystem should also be excluded. In another hand, dar is not limited 
to Linux, FreeBSD, Solaris, NetBSD users should add their own files to 
be excluded, but, the tutorial would become much less accessible to new 
users...

> 
> Moreover, I want to backup file only in my root volume/partition, not files
> on other partitions. 
> 
> So I choose the following switches to back up my root volume:
> 
>   -P dev -P proc -P sys/devices --no-mount-points

Yep, the --no-mount-point feature has been added a long time after the 
tutorial was done. It should be interesting to speak about it in the 
tutorial.

> 
> Please comment if it is appropriate? 
> Any other useful switches to back up root volumes?
> 
> BTW, My root volume is mounted via unionfs:
> 
>   Filesystem           1K-blocks      Used Available Use% Mounted on
>   rootfs                 3043856   2459752    429480  86% /
>   /dev/root              3043856   2459752    429480  86% /
> 
> How does dar handle unionfs? E.g., will dar backup files unioned to root by
> unionfs (files show up as in root but actually mounted from somewhere else)?

For what I understand of Unionfs, this is transparent to the 
applications. Dar thus seens the files in the unionfs the same way they 
are presented to the user or to other commands (like 'ls' for example).

> 
> Thanks
> 


Kind Regards,
Denis.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Dar-discussions mailing list
Dar-discussions-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/dar-discussions
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFkl0upC5CI8gYGlIRAgoEAJ9D+PBirhqE+9ZdF0ehkrdteOFRqwCgtRoM
l92iOEdlohEz1sTbPwe4x6Q=
=IC42
-----END PGP SIGNATURE-----