Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

this is my situation
i have a web server pc with many websites in it (using vhost) running freebsd. just in case something bad happened to my server, i want to backup every websites in it every midnight.

my questions are :
1. is it possible to backup many websites with different file name from a single command?
2. can i store the backup files to my other server via ftp automatically ?
3. or it's better to create a clone server ?? how do i synchronize it's content ??

any clue will be appreciated

share|improve this question

closed as off-topic by John, TomTom, kce, mdpc, Rex Mar 6 '14 at 14:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must demonstrate a minimal understanding of the problem being solved. Try including attempted solutions, why they didn't work, and the expected results. See How can I ask better questions on Server Fault? for further guidance." – John, TomTom, kce, Rex
If this question can be reworded to fit the rules in the help center, please edit the question.

  1. is it possible to backup many websites with different file name from a single command?

Yes. You'll just need to write up a bash script to perform the backup.

  1. can i store the backup files to my other server via ftp automatically ?

Yes. Again, you'll need to do that from within your backup script.

  1. or it's better to create a clone server ??

Well, that's up to you to decide.

how do i synchronize it's content ??

That's a very large topic, which would warrant its own question and answers.

There are a bunch of pre-made backup systems for *nix. I'd recommend you check out rsnapshot or rdiff-backup. These will only account for your files. For your databases, you'll need to research the best way to back those up and implement that separately.

share|improve this answer

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