./newscoop-restore -b /var/www/newscoop/backup/backup-newscoop-2016-05-11-11-14-01.tar.gz -t news
Newscoop Restore Utility
------------------------
* Initializing...
* Temp directory: /var/www/newscoop/backup/backup-newscoop-2016-05-11-11-14-01
* Initialization done.
* Extracting files into temp directory...done.
* Backup database name is 'agregator'.
* Destination database name (to be replaced) is 'news'.
All files in the following directories will be deleted.
(The backup files will be copied to these locations)
/var/www/newscoop/conf/..//themes
/var/www/newscoop/conf/..//images
/var/www/newscoop/conf/..//public/files
/var/www/newscoop/conf/..//cache
/var/www/newscoop/conf/..//public/pdf
/var/www/newscoop/conf/..//public/videos
Are you sure you want to continue? (y/N) y
* Removing files in /var/www/newscoop/themes...done.
* Removing files in /var/www/newscoop/images...done.
* Removing files in /var/www/newscoop/public/files...done.
* Removing files in /var/www/newscoop/cache...done.
* Removing files in /var/www/newscoop/public/pdf...done.
* Removing files in /var/www/newscoop/public/videos...done.
* Recreating cache...done.
* Restoring themes...done.
* Restoring images...done.
* Restoring videos...done.
* Restoring file attachments...done.
* Restoring PDFs...done.
done.
* Restoring the database news...done.
* Upgrading the database (if necessary)...
* Upgrading the database from version 4.4.x, roll 2015.10.29...done.
* Upgrading templates...done.
* Updating plugins (if necessary)... done.
* Cleaning up...done.
Note: If you are doing a site-to-site transfer you may have to fix the
aliases in your publications before the frontend will work. An alias
is the base URL for your publication. To change an alias, login to the
administration interface and go to the publication configure screen.
IMPORTANT!
You must restart the apache server for the changes to take effect!
It looks like you're new here. If you want to get involved, click one of these buttons!