NOTE: very important to add the name of the file!!!! Example:
/backup/myfiles.tar
To create a new backup job, do the following:
Filesystem Backup - Webmin Documentation
/backup/myfiles.tar
To create a new backup job, do the following:
- In the field next to the Add a new backup of directory button, enter the full path to the directory you want to save. By default, the module will use the dump command for backups, but if you prefer tar format you should select the In tar format checkbox. Then click the button. The rest of these steps will assume that you selected the Tar option, as that is the most common format.
- On the Add New Backup form (shown below), add an additional paths to backup to the Directories to backup field.
- In the Backup to section, you can select File or tape device if you want to save to a file on the same system. In the adjacent field, either enter a path like /backup/myfiles.tar, or if you have an attached tape drive use a path like /dev/st0 (the first SCSI tape drive).
Alternately, you can select the Host
option, and enter a remote hostname, login name and remote file into
the three fields next to it. Remote backups are clearly preferable in
most cases, as they can be restored if the system being backed up
completely dies! - If performing a remote backup, the Remote backup command field can be used to select the protocol to use for transferring the backup. SSH is most commonly used, but FTP is a suitable alternative if you don't have an SSH login on the remote system. The default RSH protocol is almost never used these days.
- If backing up via SSH or FTP, you will need to enter a password into the Password for SSH/FTP login field. This can be omitted if the root user on the source system has his .ssh directory setup to allow password-less logins as the destination user.
- Most of the fields in the Backup options section can be left as their defaults. The only exception is Compress archive?, which should be set to Gzip or Bzip if your backup is not to a tape drive.
- If you want the backup to be run on a regular schedule, select the Enabled, at times chosen below.. radio button and enter an email address to notify into the Email scheduled output to field.
- Select a schedule to run from the Cron time / date chooser.
- Click the Create button at the bottom of the form.
Filesystem Backup - Webmin Documentation
No comments:
Post a Comment