Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dreikanter/db-backup
- Owner: dreikanter
- Created: 2013-02-17T09:31:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-06-19T17:21:47.000Z (over 11 years ago)
- Last Synced: 2023-03-13T10:22:22.150Z (over 1 year ago)
- Language: Python
- Homepage: http://github.com/dreikanter/dbarc
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)