How to exclude domain in backup-script?

Aar

Verified User
Joined
Feb 10, 2005
Messages
209
Location
Netherlands
Hello,
I have the code below here (for a cron) to make a backup of alle domains, and copy this by FTP.
It works great!

However, now i'm looking for a option for exclude a domain. Is there an option availiable for this?

Code:
#!/bin/sh

datum=`date +%u`;
`echo "action=backup&ftp_ip=xxx.xxx.xxx.xxx&ftp_username=**username**&ftp_password=**password**=&ftp_path=/$datum/&owner=admin&type=admin&value=multiple&when=now&where=ftp&who=all" >> /usr/local/directadmin/data/task.queue`
 
Back
Top