help-gnu-utils
[Top][All Lists]
Advanced

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

Re: Backup scripts


From: TBlittlefoot
Subject: Re: Backup scripts
Date: Fri, 30 Nov 2007 04:42:37 -0800

On Thu, Nov 29, 2007 at 12:26:47PM -0500, Joel J. Adamson wrote:
> Howdy,
> 
> I'm using Slackware GNU/Linux 12.0 and would like to back up certain
> files in my home directory: these are just data and configuration files,
> not system files of any kind.  Reading the `tar' manual I came across
> the backup scripts, on my system in /usr/bin/backup.  I created a
> backup-specs file, and have gotten a bunch of errors that don't seem to
> jive with the documentation.  Here's my backup-specs file:
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> # backups for joel
> #
> 
> ADMINISTRATOR=joel
> #BLOCKING=8
> TAPE_FILE=/dev/sdb1
> VOLNO_FILE=/home/joel/var/backup/volno_file/
> 
> BACKUP_HOUR="now"
> # BACKUP_DIRS="
> #     /home/joel/ado
> #     /home/joel/data
> #     /home/joel/docs
> #     /home/joel/svn_repo
> #     /home/joel/Mail
> #     /home/joel/News
> #     /home/joel/lisp"
> BACKUP_FILES="
>     /home/joel/office-directory
>     /home/joel/.emacs
>     /home/joel/.emacs-custom.el"
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> The directories are commented out for testing purposes (to avoid doing
> the whole thing).
> 
> When I run backup I get:
> 
> /home/joel/etc/backup Super-User > backup -f --time=now
> backup -f --time=now
> /dev/sdb1: Invalid argument

Perhaps it needs to be mounted.

grep mount /usr/sbin/backup didn't produce anything.

Tom







reply via email to

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