New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
DirectAdmin User Level Backup
Hey all.
Coming from cPanel I used to use this script for userlevel backups for those without user accessible JetBackup or the likes (https://www.thecpaneladmin.com/cpanel-automated-backup-script/)
Is there something similar I can achieve on DirectAdmin?
Essentially looking for cron scheduled full backups including databases either to disk or direct to FTP/SFTP externally
Cheers
Comments
DA can do this out of the box ?
Am I missing something? There’s only manual backup on the panel
Within the admin panel you can select backups to be run via cron and either store locally (not recommended) or SFTP onto external storage server.
You can then use the restore feature to select a backup from a previous day/week/month to restore. At this time it is only full account backup and restore, you can’t restore individual files but this feature is being added to the Pro Pack.
Thought I'd clarify again..
I'm seeking a solution for automated backups at the user level. This is a web host account rented from one of the LE guys; I do not have access to reseller/admin panel.
The alternative is I'm just so blind I can't figure out how to do so in my DA panel
You could try this script, not used/tried it myself - https://forum.directadmin.com/threads/automatic-user-backups.61610/
Thanks on the lead regarding the API. Will have a go and update.
EDIT:
A POST on the API
CMD_API_SITE_BACKUP
worked wellThanks again @LeonDynamic
Something like:
Ain't that pretty? Sure beats the end user, clicking on cron tasks then adding for example /usr/local/sbin/userbackup.sh to be run at 5 past 3 in the morning each night.
Or perhaps, even a Schedule button on the backup definition page?
/sarcasm (just!)