US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting


Reply
 
Thread Tools
Old 11-08-2016, 03:08 PM   #1
Junior Member
 
Join Date: Nov 2016
Posts: 26
Alien is on a distinguished road
Send a message via Skype™ to Alien
Default 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
Alien is offline   Reply With Quote
Old 11-09-2016, 11:25 AM   #2
ISPsystem team
 
Join Date: Jul 2014
Posts: 443
ksenya is on a distinguished road
Default

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
ksenya is offline   Reply With Quote
Old 11-11-2016, 11:49 AM   #3
Junior Member
 
Join Date: Nov 2016
Posts: 26
Alien is on a distinguished road
Send a message via Skype™ to Alien
Default

Oh yes, thank you for this. I will read the article as well.
Alien is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:20 AM.