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.)
Asked
Active
Viewed 2,975 times
1 Answers
1
You could use node-cron and use the fs module to copy the directory yourself.

Pickels
- 33,902
- 26
- 118
- 178
-
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