Understanding Cpremote Restore Progress and File Lock Mechanism

The Cpremote Restore Process

Cpremote use file lock mechanism to control the restore procedure. It mean each restore request under a cpanel account will start with a lock file. This will allow to run only one restore in a cpanel account at a time. You can run multiple restore in different accounts.

The Lock File name will be : /var/run/cpremote-restore-CPUSER.lock

Why cpremote allow only one restore at a time in a cpanel account ?

Multiple concurrent restore in a cpanel account may result in data lose and unexpected behavior. So it is always run one restore in a cpanel account at a time. This protection is for data safety. To ensure the data integrity cpremote have the lock mechanism, that will make it a unique feature.

What is the restore LOCK file ?

When the server admin or the cpanel user send a request for a restore under a cpanel account, it will create a lock file in /var/run/ folder ( eg : /var/run/cpremote-restore-fun.lock ) . This Lock file contains the restore log file name. Both admin and cpanel user can monitor the log files and locks from whm.

What is inside the LOCK file ?

This lock file contains the full path to the restore log file that executed at the time.

Restore not working but LOCK file exists ?

Some times there may be issues like storage pool failure, wrong backup , corrupted data, network issues, etc,. In such scenario , the restore request may fail without success. If a restore fail, then the LOCK files won’t be deleted. You need to check the log file associated with the LOCK file to see what is the reason behind the issues. Only the server admin can handle the locks and log files. So after solving your server problems , you can simply remove the LOCK file from whm and send the restore request too. As long as a restore lock file exists for a cpanel account, any further restore process will stop.

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

Sat Sun Mon Tue Wed Thu Fri
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Over 20000 Satisfied Customers!

From 24/7 support that acts as your extended team to incredibly fast website performance

Zelt staff were fantastic, I had a concern with a domain and they got back to me very quickly and they helped me to resolve the issue!

author
Technician, Diageo PLC

I'm using Zelt for my portfolio since 2006. The transition was seamless, the support was immediate, and everything works perfectly.

author
Photographer, Allister Freeman

Very easy to understand & use even though I am not very technologically minded. No complications whatsoever & I wouldn't hesitate to recommend it to all.

author
Actor, A&J Artists

Zelt support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Zelt have been amazingly responsive and helpful to any of my queries 👍👍👍

author
Technician, Diageo PLC

Anytime I've had a problem I can't solve, I've found Zelt to be diligent and persistent. They simply won't let an issue go until the client is happy.

author
Doctor, SmartClinics

Zelt support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Zelt have been amazingly responsive and helpful to any of my queries 👍👍👍

author
Freelancer, Fiverr

24/7 World-Class Support

Ran into trouble? Contact our Customer Success team any time via live chat or email.

  • Receive professional WordPress support
  • Our specialists are available round
Get Support