How do I automatically back up my data to my server’s backup drive using Plesk?
Once you set up and mount a backup drive to your server, you can then set it up to automatically back up your data at a time you set. You will need to create a FTP user, so that your files can transfer smoothly into your backup space.
To create an FTP user in Linux:
- Log into your server through SSH
- Enter:
useradd -d /backups -ou 10001 -g psacln -s /bin/bash [USERNAME]
Where [USERNAME] is the name you are giving your backup within your FTP server, with /backups as its home directory
- Set a password for your new user by entering:
passwd [USERNAME]
Where [USERNAME] is your name
- Enter in a new UNIX password when prompted
- Repeat the password
- Once you have successfully updated the FTP server, you will see:
passwd; all authentication tokens updated successfully
To create an FTP user in Windows:
- Log into your server
- Click ‘Start’
- Click ‘Administrative Tools’
- Open ‘Server Manager’
- Select ‘Configuration’
- Click ‘Local Users and Groups’
- Click ‘Users’
- Create a new Windows user account to use as an FTP username
To create an FTP site in Windows:
- Click ‘Start’
- Click ‘Administrative Tools’
- Open ‘Internet Information Service (IIS) Manager’
- Click ‘Sites’
- Click the name of your site
- Click ‘Add FTP Publishing…’
- Make certain that ‘Not Selected’ is chosen in the Certificates drop-down list
- Make certain that ‘Allow SSL’ is checked
- Click ‘Next’
- Select ‘Basic’ in the Authentication drop-down list
- Select ‘Specified Users’ in the ‘Allow Access’ drop-down list
- Enter in the user name you created before
- Select ‘Read’ and ‘Write’ for Permissions
- Click ‘Advanced Settings’
- Change the physical path to the backup directory you’ve created
- Click ‘OK’
Once you have created the necessary FTP accounts, you can now use Plesk to create your automatic backup.
To set up a backup:
- Log into Plesk
- Under ‘Server Management’, click ‘Tools & Settings’
- Click ‘Backup Manager’
- Click ‘Personal FTP Repository Settings’
- Enter in the FTP details you’ve created in ‘Personal FTP Repository Settings’
- Return to ‘Backup Manager’
- Click ‘Scheduled Backup Settings’
- Configure the settings to what you need to happen with your backups
- Click ‘OK’
- Your backups will now be automatically stored on your backup space at the time you’ve set
Article ID: 684
Created On: Tue, Aug 11, 2015 at 4:09 PM
Last Updated On: Wed, Aug 18, 2021 at 1:13 PM
Online URL: https://www.heartinternet.uk/support/article/how-do-i-automatically-back-up-my-data-to-my-server-s-backup-drive-using-plesk.html