Author Topic: Self-contained backup  (Read 446 times)

0 Members and 1 Guest are viewing this topic.

Self-contained backup
« on: October 02, 2018, 07:17:56 PM »
So, looking over the backup system in CWP.  It does not appear to create self-contained backups or backups that you can fully restore from.  Is that correct?

Really what I am looking for, is a way to back up everything related to an account.  And then be able to restore the account from that backup package.  Without any intervention required in terms of having to create the account outside of the restore process.

/scripts/full_user_backup $user /backup

That creates a /backup/$user_full_backup.tar.gz

And then at:
/scripts/restore_user_backup /backup/$user_full_backup.tar.gz

Which creates the account, all the virtualhosts of that account, all the databases for that account, all the email accounts, and the user's home directory all from scratch.

This does not appear to be possible with the current backup/restore systems in CWP.  Is that correct?

I can probably script something together to do this, but just wanted to make sure there wasn't such a facility already in place, that I might have missed.