Re: backing up 2010

Len Lawrence <lcl-s9phx+4gxdMG2Il/[email protected]> Sun, 27 Feb 2011 07:07:41 +0000
Newsgroups gmane.linux.mandrake.newbie
Message-ID <[email protected]>
On 26/02/11 22:56, Jim Beard wrote:
> On 02/26/2011 12:11 PM, mschild wrote:
>>
>>> Launch MCC, then to System, then to Snapshots at the bottom left.
>>> Click on Enable backups and see what happens.
>>
>> That=B4s the whole problem .I do that, it sees my pendrive and when I=20
>> click
>> =B4apply=B4, nothing happens
>> maryse
>
> If that does not work, maybe a bug report is in order. Alternately,=20
> the pendrive may be mounted read only or there
> may be a permissions problem somewhere.  I do not use Snapshot
> and am unfamiliar with its idiosyncracies.
>
> What does the command mount show for the pendrive?
>
> I personally back up to an external hard drive using
> tar or rsync.  Tar creates a tarball, while rsync creates
> a duplicate, allowing direct access to the files without
> untarring first.  (I am lazy and just use
> tar -xvf /mnt/mybook/mbtarballs/2010.2/tarball .
> which will put a copy of all files and directories in
> tarball into the current directory.)
>
> #!/bin/sh
> cd /bin ; tar -cvf /mnt/mybook/mbtarballs/2010.2/bin .
> cd /boot ; tar -cvf /mnt/mybook/mbtarballs/2010.2/boot .
> cd /etc ; tar -cvf /mnt/mybook/mbtarballs/2010.2/etc .
> cd /lib ; tar -cvf /mnt/mybook/mbtarballs/2010.2/lib .
> cd /lib64 ; tar -cvf /mnt/mybook/mbtarballs/2010.2/lib64 .
> cd /opt ; tar -cvf /mnt/mybook/mbtarballs/2010.2/opt .
> cd /root ; tar -cvf /mnt/mybook/mbtarballs/2010.2/root .
> cd /sbin ; tar -cvf /mnt/mybook/mbtarballs/2010.2/sbin .
> cd /var ; tar -cvf /mnt/mybook/mbtarballs/2010.2/var .
> cd /usr ; tar -cvf /mnt/mybook/mbtarballs/2010.2/usr
>
> rsync -av /bin/ /mnt/mybook/mbbackup/2010.2/bin
> rsync -av /boot/ /mnt/mybook/mbbackup/2010.2/boot
> rsync -av /etc/ /mnt/mybook/mbbackup/2010.2/etc
> rsync -av /home/ /mnt/mybook/mbbackup/2010.2/home
> rsync -av /lib/ /mnt/mybook/mbbackup/2010.2/lib
> rsync -av /lib64/ /mnt/mybook/mbbackup/2010.2/lib64
> rsync -av /opt/ /mnt/mybook/mbbackup/2010.2/opt
> rsync -av /root/ /mnt/mybook/mbbackup/2010.2/root
> rsync -av /sbin/ /mnt/mybook/mbbackup/2010.2/sbin
> rsync -av /usr/ /mnt/mybook/mbbackup/2010.2/usr
> rsync -av /var/ /mnt/mybook/mbbackup/2010.2/var
>

Yes, I just had a look at snapshots and it seems to be very
unsophisticated.  Trawling the web reveals that it runs a perl script
called draksnapshot-applet but how to configure it is anybody's guess.
There is no manual page and --help tells you nothing.  It does not
tell you that you have to create a .draksnapshot text file containing
AUTOSTART =3D TRUE.  The general consensus seems to be forget it and use
one of the free utilities like Rsync.  I tend to use something like
Jim's method on my MyBook drive but have to remember to run the
script although the obvious thing is to run it as a chron job.

However....  There is a tutorial on Mandriva's site about drakbackup.
If you urpmi drakbackup a new icon appears in mcc called, wait for it,
Backups.  Have not tried that yet but you could give it a go.  There
is also Click'n Backup but that requires registration with Mandriva
and a high bandwidth connection because the data are stored in the
cloud, probably not what you want.

Len


____________________________________________________
Want to buy your Pack or Services from Mandriva?=20
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________