Backup to Stack with Hyperbackup
Introduction
Unfortunately, making a backup with HyperBackup to Stack, via WebDAV does not work out-of-the-box. With the data and comments on gijs.io I had to do some puzzling. But once the solution is set up, the backup will continue to work without any problems in my experience.
To get the backup to Stack working you will need to:
- Set up HyperBackup to backup to another WebDAV server first
 - Manually copy the files that HyperBackup has created from the WebDAV server to Stack. This can be done via the web interface from Stack.
 - Set up HyperBackup to back up to Stack via WebDAV
 
Setup
- 
Backup to another WebDAV server
If you don’t have a WebDAV server (other than Stack) at your disposal, you can use WebDAV Docker container.
Then perform the following steps:
- Backup to your local WebDAV server (not Stack) with HyperBackup
 
- In the 
hbkdirectory and all subdirectories, give the0 bytefiles the extensiontxt(and note the original extension) - Upload manually the 
hbkdirectory to Stack (the web interface worked fine - upload in parts for large backups) - Within Stack, change the extension of the 
0 bytefiles back to the original extension 
Now you have the backup on Stack. This is needed once for every backup task you want to create within HyperBackup.
 - 
Backup to Stack
- Add a new task within HyperBackup. After you have chosen WebDAV, choose 
Relink with an existing task. Fill in the Stack data and refer to the backup you manually put on Stack above - Run an integrity check
 
The backup can be run from now on.
If re-linking to an existing task doesn’t work then there is another alternative method that might work:
- Modify the task you used to backup to your own WebDAV server: change the target to Stack and refer to the backup you manually set to Stack above
 - Run an integrity check
 
 - Add a new task within HyperBackup. After you have chosen WebDAV, choose 
 
No comments found for this note.
Join the discussion for this note on Github. Comments appear on this page instantly.