Re: backing up 2010
Jim Beard <jdbeard-kTz99GpLsC/[email protected]> Sat, 26 Feb 2011 17:56:46 -0500
| Newsgroups | gmane.linux.mandrake.newbie |
|---|---|
| Message-ID | <[email protected]> |
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 c=
lick
> =B4apply=B4, nothing happens
> maryse
If that does not work, maybe a bug report is in order.=20
Alternately, 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
Cheers!
jim b.
--=20
UNIX is not user unfriendly; it merely
expects users to be computer-friendly.
____________________________________________________
Want to buy your Pack or Services from Mandriva?=20
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________