Backup for Files - Restore Incremental Backup Cache on Linux or Mac

Written By Tami Sutcliffe (Super Administrator)

Updated at March 31st, 2021

Overview

On occasion, particularly after a restoration of a systems files after a crash or a re-build, part of the process for continuing where a backup left off without fully re-uploading the data will involve "Rebuilding the Incremental Backup Cache".  

These steps only describe how to Rebuild the cache using the command line.

Instructions

  1. Launch the command line version of the file manager.  The exact commands used will depend on your brand but using the generic installation as the example it will look something like this:
    • sudo onlinebackup filemanager
  2. Log in to the backup destination.  Typically this will be the remote destination.
    • login to remote username password
      • The username and password can be left off if the configuration (.conf file) has already been filled out with the credentials.
      • The "remote" can be replaced with "localdisk" or "localnetwork" if you're backing up to / restoring from a different location.
  3. The rebuild cache has to be done on each top level directory individually
    • restore --exclude-deleted-files --rebuild-cache [foldername] to original
      • The [foldername] is whatever the ls command shows after successful login.
  4. The process might look something like this:
    1. Login:
      • login to remote 
    2. List top folders:
  • ls
    • which displays:
      • <folder1>
      • <folder2>
  • Rebuild backup cache for folder1 and folder2
    • restore --exclude-deleted-files --rebuild-cache folder1 to original
    • restore --exclude-deleted-files --rebuild-cache folder2 to original
  • To exit the file manager use "quit". 

    The "help" command is also available for more information on the available commands and options in the command-line file manager application.