Backup generate over 10 hours.

barts

Verified User
Joined
Nov 22, 2005
Messages
29
I have 1 account on my server. It has a lot of small files. DA everyday generate backup of this account. Backup file size is: 23G. It's generate about 10 hours and in those hours system is overloaded. Maybe you have some tips to generate it faster?
I think about rsync which give me only changed files and copy it to backup folder and pack it.
 
We have some large sites which use a lot of resources during backup as well, using the System Backup (sysbk). Is that what you're using?

Sysbk by default uses a nice level that allows it to run slowly rather than quickly, to leave resources for other daemons. You can create custom backups using rsync; by default DirectAdmin doesn't do that because it presumes if you're backing up every day you'll want a backup for every day.

Jeff
 
I do this backup by cron:
2 2 * * * echo -e "action=backup&id=1&owner=bigaccount" >> /usr/local/directadmin/data/task.queue.da; /bin/chmod 600 /usr/local/directadmin/data/task.queue.da

Does it use sysbk?

Maybe better is use sysbk to do this backup?

Can I configure sysbk to delete old backups?
 
I'm not sure what task.queue.da is; our task queue, on our servers is just named task.queue. Has someone made a change while I wasn't looking?

I also don't know why you'ld have to chmod the task.queue file.

Unless you've created something very customized I don't know about, no, that's not running sysbk. Sysbk is available from the System Backup selection from the admin login. It backs up whatever you've selected.

You cannot configure sysbk to delete old backups, though you can configure it to delete the current backup as it moves it to a different server.

To remove old sysbk backups (which by default are stored in /home/backup) you can run a cronjob as root to delete them.

Jeff
 
I'm not sure what task.queue.da is; our task queue, on our servers is just named task.queue. Has someone made a change while I wasn't looking?

Jeff,

I thought task.queue.da is the filename when running FreeBSD. Not quite sure anymore, it's been a while since I ran Directadmin on FreeBSD.
 
Last edited:
how to create an automatic backup using crone?

How can I create the backup of my data using crone? how can I select databases to be backuped, and other options?
Tomasz
 
That depends.

First, are you asking about a site hosted on a DirectAdmin server? If not, then this isn't the right place for an answer.

Second, are you a website user? Or a hosting reseller? Or do you own the server?

If a website user you'll probably want to discuss this with your hosting company to make sure you can back up everything you need.

If a reseller you can set up cronjobs for backups by logging into your DirectAdmin control panel and following the Manage User Backups link.

If an administrator you should log in to the proper reseller level and follow the instructions immediately above.

Jeff
 
It's polish version of DirectAdmin, I bought account from Linuxpl.com company. I'm probably the DirectAdmin website user, and administrator of my own page. I can run backup system manually. I found CRONE instructions, that I can set up, but in the manual is written only how to run my own scripts, and I have no Idea, where DirectAdmin "backuper" is located.


That depends.

First, are you asking about a site hosted on a DirectAdmin server? If not, then this isn't the right place for an answer.

Second, are you a website user? Or a hosting reseller? Or do you own the server?

If a website user you'll probably want to discuss this with your hosting company to make sure you can back up everything you need.

If a reseller you can set up cronjobs for backups by logging into your DirectAdmin control panel and following the Manage User Backups link.

If an administrator you should log in to the proper reseller level and follow the instructions immediately above.

Jeff
__________________
Jeff Lasman <[email protected]> +1 951 643-5345
Contract DirectAdmin administration and support
Dedicated Servers, Dedicated Reseller Accounts
NoBaloney Internet Services
P.O. Box 52200
Riverside, Calif. 92517
Reply With Quote
 
Unless you own your own copy of DirectAdmin you should probably contact your hosting company, as only they know how they've set up their systems.

Jeff
 
Back
Top