ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   Backup issues (http://forum.ispsystem.com//showthread.php?t=2698)

Alien 11-08-2016 03:08 PM

Backup issues
 
ISPmanager 5.81
CentOS 7.2

I installed a demo version of ISPmanager Lite and now trying to backup my user's data and then delete it from the local storage, but with no success:

sbin/backup2_cp --delete var/backup/ispmgr/2015-09-08.username.info --type local --token /var/backup

ksenya 11-09-2016 11:25 AM

Hello, Alien

Some changes were made to this procedure:

In order to delete a backup copy, in the /usr/local/mgr5 directory you need to specify the BACKUP_TOKEN environment variable, execute the sbin/backup2_cp --delete command, and specify the path to the info file of the backup copy. The token value is kept in etc/ispmgr.conf in the BackupToken parameter.

Deletion of the backup copy of the certain user (username) from the local storage:

BACKUP_TOKEN="type=local;url=/var/backups/";sbin/backup2_cp --delete var/backup/ispmgr/2015-09-08.username.info

Backup configuration

Alien 11-11-2016 11:49 AM

Oh yes, thank you for this. I will read the article as well.


All times are GMT +2. The time now is 12:14 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.