Restoring a System Backup file

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » System Level

Restoring a System Backup fileLast Modified: Jan 20, 2007, 4:05 pm
The sysbk program does not come with an automated restore tool (If you want automation, use the Reseller Level -> Manage User Backups, or Admin Level -> Admin Level Backup).

System Backups are stored into custom paths that the admin can specify.
An example:

where the numbers represent the date of that backup under the /backup folder.

If (for example) you want to restore your /etc/virtual directory, you'd type:

cd /etc
tar xvzfp /backup/07-30-04/custom/etc/virtual.tar.gz

A list of files/directories used by DirectAdmin:

Be careful with the /etc/passwd, /etc/shadow, /etc/group, etc.. files.  Test out your login/lougout of ssh with another window before logging out, after replacing those files to ensure your login still works.
Related Helpfiles
Resetting permissions and ownership on all DA related system files.

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST