Dspace backup manually

Dspace backup manually


Backup of database
Open a Terminal and apply following commands,

sudo su
(Enter Linux Root password)

pg_dump -U dspace -h localhost -Fc dspace | gzip > dspace-$(date +%Y-%m-%d-%H.%M.%S).gz

Enter the password of Linux user for dspace.

Backup of Asset store and log folders.
Execute thress commands one bye one;

sudo su
zip -r assetstore.zip /dspace/assetstore
zip -r log.zip /dspace/log

Backup up files will be deposit in your home folder.

Image courtesy: Open Clip Art

download file now

Popular posts from this blog

Download Genkaku Cool na Sensei ga Aheboteochi! Subtitle Indonesia

Download Install Google Android Keyboard from Google Play Store Official