Re: Backup scripts

TBlittlefoot <[email protected]>
Newsgroups gmane.comp.gnu.utils
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.