Hi,
I have a problem running backup task with aegir on a Solaris :
Could not back up sites directory for drupal
An error occurred at function : drush_provision_drupal_provision_backup
The command tar -C /var/aegir/drupal-6.15/sites/mysite.test.org -p -c -z -f /var/aegir/backups/mysite.test.org-20100121.144102.tar.gz . doesn't work.
It seems that we should use those 2 commands instead :
tar cpf /var/aegir/backups/mysite.test.org-20100121.144102.tar . -C /var/aegir/drupal-6.15/sites/mysite.test.org
gzip /var/aegir/backups/mysite.test.org-20100121.144102.tar
Obviously for restore, the same problem will happen.
Is there a way to customize those commands ?
Thanks,
Comments
Comment #1
anarcat commentedThe commands cannot be customized, but we can certainly make them more portable, I'll look into this.
Comment #2
anarcat commentedtry this.
Comment #3
anarcat commentedthe previous one was apparently backing up the whole platform instead of just one site. seems like gnu tar doesn't like solaris' tar argument order, ugh.
so i just chdir instead of screwing around with -C.
Comment #4
anarcat commentedi committed the latter to HEAD, enjoy 2b694f1 !