PDA

View Full Version : Backup Help



digitaba
04-16-2009, 03:23 AM
Hi guys

I need do decomission server and copy data to a new server.

Could someone please indicate which folders I need to copy to the DVD, I want all the accounts and databases etc.

I am running Centos 5

Any help will be appreciated

floyd
04-16-2009, 04:35 AM
I would run the admin backup system.

digitaba
04-16-2009, 08:37 AM
My DA is completely dead so no go there

My ISP can make a backup for me but they would like to know which folders to backup.

scsi
04-16-2009, 10:01 AM
Follow this guide:

http://help.directadmin.com/item.php?id=198

nobaloney
04-17-2009, 11:43 AM
If the server is completely dead then you should probably back up the files and directories mentioned in the configuration files you'll find at: /usr/local/sysbk/mod.

Note that I don't guarantee that this is all you need. Note also that blindly reinstalling all of these on a new server may cause damage or result in a nonworking server. You may want to have someone with experience (us?) restore your server for you as a commercial service.

Jeff

Michael.Terence
04-17-2009, 12:25 PM
If the server is completely dead then you should probably back up the files and directories mentioned in the configuration files you'll find at: /usr/local/sysbk/mod.

Note that I don't guarantee that this is all you need. Note also that blindly reinstalling all of these on a new server may cause damage or result in a nonworking server. You may want to have someone with experience (us?) restore your server for you as a commercial service.

Jeff

Jeff is "the man". I'd definitely encourage you to give him a call and let him sort this for ya.

floyd
04-17-2009, 03:31 PM
My DA is completely dead so no go there



Why is DA dead?

If you can ssh into the server then you can run the backup commands from the command line.


echo "action=backup&local_path=/home/admin/admin_backups&owner=admin&type=admin&value=multiple&when=now&where=local&who=all" >> /usr/local/directadmin/data/task.queue

/usr/local/directadmin/dataskq &

bardak
04-23-2009, 11:30 PM
Hello,

I made a system backup (with home directories) on the server with FreeBSD 5.4. This backup (directory /home/backups/04-22-09) was added to tar.gz, renamed to admin.admin.daadmin.tar.gz and moved to new server with debian. In DA on new server I tried to restore this backup (/home/admin/admin_backups/admin.tar.gz), but have some error.

Unable to extract user.conf, reseller.conf or ip.list from /home/admin/admin_backups/admin.admin.daadmin.tar.gz : Error while extracting backup/user.conf backup/reseller.conf backup/ip.list to /home/admin/admin_backups/daadmin as admin : /bin/tar: backup/user.conf: Not found in archive
/bin/tar: backup/reseller.conf: Not found in archive
/bin/tar: backup/ip.list: Not found in archive
/bin/tar: Error exit delayed from previous errors


Cannot read /home/admin/admin_backups/daadmin/backup/user.conf : Unable to open /home/admin/admin_backups/daadmin/backup/user.conf for reading.

floyd
04-24-2009, 05:07 AM
Did you make a system backup or admin backup? You cannot automatically restore a system backup.