CentrioHost Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


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

SatSunMonTueWedThuFri
 123
45678910
11121314151617
18192021222324
25262728293031

Over 20000 Satisfied Customers!

  • web hosting reviewer
    Valerie Quinn
    CTO, Acteon Group

    Centriohost 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! ~ . . . Read more

  • Joomla hosting reviewer
    Collin Bryan
    Photographer, Allister Freeman

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

  • dedicated server reviewer
    Harry Collett
    Actor, A&J Artists

    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. ~ . . . Read more

  • vps web hosting reviewer
    Porfirio Santos
    Technician, Diageo PLC

    Centrio support team have been amazingly responsive and helpful to any of my queries, thank you so much to the Centriohost have been amazingly responsive and helpful to any of my queries πŸ‘πŸ‘πŸ‘ ~ . . . Read more

  • wordpress hosting plans reviewer
    Catherine Auer
    Doctor, SmartClinics

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

  • reseller hosting reviewer
    Effectivo Social
    Freelancer, Fiverr

    Recommend their shared hosting for all my SME web design clients. Their cloud or VME offerings are too great to deal with. Pricing is perfect and suitable for all users (Ν β‰– ΝœΚ–Ν β‰–) πŸ‘Œ ~ . . . Read more

Top