Simple Backup problems
Carl Friis-Hansen
ubuntuuser at carl-fh.com
Fri May 15 09:31:16 UTC 2009
Edgars Ðmits wrote:
> I'm running Jaunty and have a windows share of 6.7GB auto mounting to
> a directory in my home partition. I need to back this directory up on
> a weekly basis to another partition on my Ubuntu box. I need a simple
> solution, and it looks like Simple Backup can do it - ran it last
> night and it backed it up fine, however it didn't put the backup where
> I wanted it, but in it's standard default location (/var/backup),
> which just about wiped out my root directory...
>
> I checked my settings, I had done it correctly, but seem to remember a
> similar problem when I last used the software a year ago. When I
> copied the resulting backup set to where I wanted it and the ran the
> recover tool to see if it was usable it doesn't recognise the set.
>
> Unfortunately Simple Backup doesn't have a lot of documentation on the
> web.
>
> 1) is anyone using it for what I need - to back up a locally mounted
> drive?
> 2) is there another alternative, equally simple, that can be
> recommended? I tried backuppc, but it' s too complicated - I need
> something simple that I can set up and turn over to another user who
> isn't a tech person - I won't be in this office most days.
Why not make it even more simple and automate the process?
Here is an example of one of my backup scripts:
//////////////////////////////////////////////
#! /bin/sh
#
# Backup of server cjfhs12 to this external USB disk
#
cp -vpRut ./var /var/www
cp -vpRut ./var /var/vhost
cp -vpRut ./var /var/mail
cp -vpRut ./var /var/local
cp -vpRut . /home
cp -vpRut . /etc
cp -vpRut ./var/lib /var/lib/mysql
//////////////////////////////////////////////
The run something similar with cron and you do not have to instruct your
colleague about anything.
You would have to precede the source with smb: of course.
--
---------=oOOo=---------
Carl Friis-Hansen
http://carl-fh.com/
Phone: +46 372 15033
---------=oOOo=---------
More information about the ubuntu-users
mailing list