I'm able to see the destinations by using the 'bam-destinations' command and below is my script to get an entire site backup from a ftp destination (ID of this destination is 'ftp_destination' and I have entered ftp details through BAM module frontend).

drush archive-dump default http://www.example.com/ --destination=ftp_destination

For some reason it's not uploading in to the ftp location but just creates a backup called 'ftp_destination' in my local PC.


1 Answer 1


Check out the drush documentation here.
There's no mention of ftp, the backup archive is saved locally. If you want to ftp your archive somewhere you will have to handle it separately, archive-dump will not do it for you.

  • Thanks for that rtome :) What could be a starting point to do a research in connecting to ftp server using the command prompt? Mar 12, 2015 at 0:25
  • No, I ment create a shell script, put ypur drush command there and then put an ftp (or scp) command to transfer your file to your other machine. Check this thread stackoverflow.com/questions/1894347/… for an example.
    – rtome
    Mar 12, 2015 at 6:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.