rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Re: rdiff-backup-users Digest, Vol 21, Issue 17


From: Cave Crickett
Subject: [rdiff-backup-users] Re: rdiff-backup-users Digest, Vol 21, Issue 17
Date: Tue, 31 Aug 2004 18:07:49 -0600

Thanks for posting your perl script.  I'll dig into your scripts soon. 

I though I might post my current scripts too.  They are just BASH scripts.  
http://collegemarket.org/greg/backup_one.sh.txt
http://collegemarket.org/greg/example_backup_all.sh.txt

Here is a brief description of each script:

backup_one.sh
This is a single case execution of my backup script
This requires that SSH passwordless entry is setup
If no arguments are passed it gives the help
You have to pass it several arguments to have it run.  
  sshuser - username for remote host
  sshhost - remote hostname or IP address
  srcdir  - source directory (remost host path)
  destdir - destination directory (local host path)
  uselist - (y/n) to use include list.  Still need source dir
  listfile - filename of include-file

example_backup_all.sh
This is where you call the backup_one.sh script with the specific
arguments for a directory / subdirectories to backup.
You call the backup_one.sh for each section on each host you want backed up.
This logs the events
If you put this script in your daily cron it will also log the events in cron
If you put a .forward in /root you will be emailed the cron log of the
backup each day.
Now just watch for errors.

Im am very new at this stuff.  I would love for someone to help and
make this more generic and robust.  Please feel free to submit changes
and modifications for this script.  Also if you find this useful, feel
free to use this.  Just give me credit for my parts.  You will see
where I have done the same for others.

Greg Bosen


On Tue Aug 31 08:59:22 PDT 2004, address@hidden
<address@hidden> wrote:
> Send rdiff-backup-users mailing list submissions to
>         address@hidden
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> or, via email, send a message with subject or body 'help' to
>         address@hidden
> 
> You can reach the person managing the list at
>         address@hidden
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rdiff-backup-users digest..."
> 
> Today's Topics:
> 
>    1. rdiff perl script (Gavin Henry)
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 31 Aug 2004 11:16:43 +0100 (BST)
> From: "Gavin Henry" <address@hidden>
> Subject: [rdiff-backup-users] rdiff perl script
> To: address@hidden
> Message-ID: <address@hidden>
> Content-Type: text/plain;charset=iso-8859-1
> 
> Hi all,
> 
> For those of you interested, here is a fairly basic perl script for
> rdiff-backup.
> 
> I have much more to add to it, so the latest versin will always be at:
> 
> http://www.perl.me.uk/downloads
> 
> Let me know what you think.
> 
> P.S. The biggest change will be incorporating ssh passphrase stuff and
> proper log files etc.
> 
> Gavin.
> 
> --
> Just getting into the best language ever...
> Fancy a address@hidden Just ask!!!
> 
> ------------------------------
> 
> _______________________________________________
> rdiff-backup-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
> 
> End of rdiff-backup-users Digest, Vol 21, Issue 17
> **************************************************
> 


-- 
Greg Bosen

  -o)
   /\\
 _\_\/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]