The Duplicati backup software is a nice cross platform backup solution. There are times when one wants to start a new backup with the same settings as another backup. Duplicati doesn’t support 2 backups going to the same directory, so one needs to make sure to specify a new destination for the new backup.
- Export the backup
- Click on the backup
- Click Export
- Click Export button (accept message about passwords)
- Save file to somewhere on your computer
- Disable scheduled backups of this job for now
- Click on the backup
- Click Edit
- Click Schedule
- Uncheck Automatically run backups
- Click Options
- Save
- Create a new backup from the old configuration
- Click on Add backup
- Import from file
- Select the file on your computer
- Import file
- Change the name from “backup name” to “{backup name} {today’s date}”
- Click on Destination
- Change the end of the Path on server to be the current date (this makes sure that we start in a new directory)
- Test connection
- OK to create
- Schedule
- Make sure there is a schedule set
- Options
- Save
- Delete the exported backup file from your computer so that the password isn’t left around for someone to find
- Start the backup
Cleanup of old backups
Once you are certain that the backup is working you should clean up the old backup from the destination to save space. Here are instructions for doing this when the backup destination is Nextcloud.
Delete the backup from the server
- Click on the backup you want to delete
- Click Edit
- Click on 2 Destination
- The Storage type will be WebDAV – if not, this won’t work
- Pay attention to the Server and port and the SSL checkbox.
- In “Path on server” everything before “/remote.php” is the path
- Put the following in the address bar of your web browser https://{host}:{port}/{path}.
- Use “http” instead of “https” if “SSL” is not checked.
- Login with the username and password that is configured in the backup.
- Check the box next to the directory from the OLD backup.
- Click the 3 dots next to Actions
- Click delete
- Wait for it to finish
- Use the gear in the top right to log out
Alternatively I have also found that one can click the checkbox in Duplicati to delete the files from the server when deleting the configuration (see below) and that will remove the files from the server in most cases.
Delete the backup configuration
- Click on the backup you want to delete
- Click Delete
- Click Delete backup (leave delete remote files unchecked, this was done above)