Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dreikanter/db-backup

This tool has been replaced by dbarc, providing the same functionality without Dropbox client dependency
https://github.com/dreikanter/db-backup

Last synced: 29 days ago
JSON representation

This tool has been replaced by dbarc, providing the same functionality without Dropbox client dependency

Awesome Lists containing this project

README

        

# db-backup

A backup script for dropbox file archives.

Command line options:

![help](screenshots/help.png)

Usage example for Windows environment:

```bat
python %~dp0dbbackup.py "%userprofile%\Desktop\Dropbox\Shared Files" "e:\dropbox-backup\%%Y-%%m" %1
```

Scheduling to run each sunday at 23:00:

```bat
at 23:00 /every:Su "D:\src\dotfiles\bin\dbbackup.bat"
```

Sample run:

```
2013/02/17 14:04:27 INFO: source path: C:\Users\alex\Desktop\Dropbox\Shared Files
2013/02/17 14:04:27 INFO: backup path: e:\dropbox-backup\%Y-%m
2013/02/17 14:04:27 INFO: - copying 'Something' to 'e:\dropbox-backup\2013-01'...
2013/02/17 14:04:28 INFO: - copying 'Something 1' to 'e:\mp3\dropbox-backup\2013-02'...
2013/02/17 14:04:28 INFO: done
```

Result:

![backup dir](screenshots/backup-dir.png)