#!/bin/bash
PGPASSWORD="dspace" pg_dump -U dspace -h localhost -Fc dspace | gzip > dspace_backup/dspace-$(date +%Y-%m-%d-%H.%M.%S).sql.gz
now=$(date +"%d_%m_%Y")
zip -r /home/koha/dspace_backup/$now-assetstore.zip /dspace/assetstore
/dspace/bin/dspace stat-initial / dspace/bin/dspace stat-general / dspace/bin/dspace stat-report-initial / dspace/bin/dspace stat-rep...
No comments:
Post a Comment