backup to diffent directory

chow

Verified User
Joined
Aug 27, 2003
Messages
123
Location
The Netherlands
Hi,

I mounted a second disk to /backup. I would like to have the backups to be made to this disk. Can't find the option to change the path to this folder. Pls help :)
 
Still not solved. I want the userbackups to be placed on a device mounted in directory /backup. Can't seem to change the destination path however.
 
User backups are stored in ~/backups where ~ means the user's root.

You can either remove those directories and replace them with a link to a new directory /backup/username, or you can write a program to cp or mv the files in them to /backup on a regular basis.

Using mv creates a problem where the user can no longer see his/her backups. Using cp creates a problem wherein you'll have to allow (in your cron job) for the error if there's already a file by that name in the /backup/username directory, or you'll have to allow overwrites.

Jeff
 
Back
Top