0

Does anyone know of a node.js script that periodically runs a backup on a development directory? (The server I would like to run this on does not allow binaries for security reasons.)

user5321531
  • 2,825
  • 5
  • 22
  • 28

1 Answers1

1

You could use node-cron and use the fs module to copy the directory yourself.

Pickels
  • 32,420
  • 24
  • 114
  • 175
  • https://github.com/ttezel/anchor - http rsync client/ server, no documentation though, not sure if it carry out a simple sync of one directory to another – user5321531 Jun 10 '12 at 15:41
  • How to copy a file? http://stackoverflow.com/questions/4980243/how-to-copy-a-file – user5321531 Jun 10 '12 at 21:09