Amanda-Users

Re: Q: amanda documentation / soft links vs backups

2003-03-05 10:35:53
Subject: Re: Q: amanda documentation / soft links vs backups
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 05 Mar 2003 15:01:17 +0100
Raúl Wild-Spain wrote:
Hi!

I've found into the amanda documentation (FAQ.gz) various ways to perform a 
backup. I've some doubts because my english is a little bad ( I'm spanish and 
my alternative language is french) and I would like to make some questions 
about this. The FAQ says the following:

--
 You may create short-named links in some directory
closer to the root (/) so as to reduce the length of names.  I.e.,
instead of backing up /usr/home/foo and /usr/home/bar, create the
following links:
 /.foo -> /usr/home/foo
 /.bar -> /usr/home/bar
then list /.foo and /.bar in the disklist.

This case works because the toplevel symlink (/.foo) is resolved
by amanda before starting the dump/gnutar program. This is similar to the way amanda fill in disknames (/dev/hda7) or mountpoints (/home), depending on what program does the backujp

Symlinks inside /usr/home/foo are not resolved.


   Another approach is to group sub-directories in backup sets,
instead of backing up them all separately.  For example, create
/usr/home/.bkp1 and move `foo' and `bar' into it, then create links so
that the original pathnames remain functional.  Then, list
/usr/home/.bkp1 in the disklist.  You may create as many `.bkp<N>'
directories as you need.

--

then, my doubt is the following: if I create a hidden directory /.furvbackup and 
into this a make some soft-links to the areas I want to backup, does it will work 
right? and another, I suppose there isn't problem to backup directories ( not 
partitions or disks) with amanda, is it right?, example, into disk list  ->    
mypc    /path/to/directory always-full

If your disklist contains

        mypc    /.furvbackup    always-full

then symlinks INSIDE /.furvbackup are NOT resolved, and your backup
will contain only a few Kbytes.


Best regards,

Raúl
rcruz AT wild-spain DOT com


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



<Prev in Thread] Current Thread [Next in Thread>