How to backup a DIR

  • Nobody/Anonymous

    I read the DOCS but maybe I just missed it. What is the command for uploading an entire directory as well as all it's files and directories?

    • Michal Ludvig

      Michal Ludvig - 2008-10-28

      Hi, It's "s3cmd sync" command. That will upload the entire dir and on subsequent "sync's" it will only upload the modified files. Optionally it can also remove remote files that vanished from local dir since last sync, but that's optional as I mentioned.

      Let me know if you need further help.


    • Nobody/Anonymous

      Is there any capabilities for removing the LOCAL files after the sync is finished?

      I think s3cmd would be a great tool for archiving backup files to S3 - after the file is archived, there is no reason to keep the local copy anymore.


Log in to post a comment.