Usage: fab media_backup:dev fab media_backup:dev,/path/to/backup/folder/. Backups the target’s static files to local. Backup path defaults to [cwd]/backups/static/[target]/.
usage: fab -r <server_name> backups.mysql_db /path/to/backup/folder/ backups the target’s database to local destination. backup path defaults to /backups/db/[target]/. 1. creates the target folder if doesnt exists 2. by default keeps 30 days of backups
Usage: fab -R dev django.collectstatic. Run python manage.py collectstatic on specified target.
Usage: fab -R dev django.compilemessages. Run python manage.py compilemessages on specified target.