The LucidLink Filespaces log structured design and block level data layout built on object store presents a unique opportunity for granular snapshot capabilities. 

Snapshots can be enabled per filespace with multiple snapshots configurable to each filespace.

Snapshots are created from the command line interface. For example: every hour, day, week, month and yearly snapshots can be created, deleted and replaced to satisfy your organization's recovery point objectives. You can automate the creation of snapshots through snapshot scheduling.


Accessing Your Snapshots

All snapshots can be activated via LucidLink Client dashboard or via the command line, by selecting the snapshot tab, entering your shared secret and selecting activate snapshots. Snapshots are read-only, you can simply copy any required data out of a certain snapshot to your active Filespace.


Once you've activated your snapshots, you will note an additional mount-point which contains all your available snapshots.

Windows:

macOS:

Linux:


Creating and Managing Snapshots

Snapshots are managed using the LucidLink Client via the command line or terminal. You can also set a snapshot schedule, allowing you to automate snapshot creation and retention. Filespace snapshot schedules are managed centrally. Once you set up a snapshot schedule, these will be created automatically, whether the LucidLink Client is connected or not. 

Each snapshot is represented by name description along with a unique identifier in order to delete your snapshot and replace it in future with an updated point in time. 

usage: Lucid snapshot [options] 
Snapshot management. To activate a snapshot, see the options of 'lucid activate'. To schedule snapshots see 'lucid snapshot-schedule'. 

Options:     
--password password      Root user's password is required for creating and deleting snapshots    
[--list]                 Display the list of existing snapshots    
--create [name]          Create a snapshot with the specified name. Name format: a-z, A-Z, 0-9, '-_ ()'. Max length 40 chars    
--delete id              Delete the snapshot with the specified id

 

Create snapshot:

lucid snapshot --create Hourly
Snapshot with ID 1 created.


Create snapshot schedule:

lucid snapshot-schedule --create name --interval <m | h | d | w | mo | y>


For example, to setup grandfather-father-son (GFS) retention on your filespace, you can do the following:

lucid snapshot-schedule --create "15 minutes" --interval 15m --retention 4 --start 2000-12-31T00:00
lucid snapshot-schedule --create "Hourly" --interval 1h --retention 24 --start 2000-12-31T00:00
lucid snapshot-schedule --create "Daily" --interval 1d --retention 7 --start 2000-12-31T00:00
lucid snapshot-schedule --create "Weekly" --interval 1w --retention 4 --start 2000-12-31T00:00
lucid snapshot-schedule --create "Monthly" --interval 1mo --retention 12 --start 2000-12-31T00:00
lucid snapshot-schedule --create "Yearly" --interval 1y --retention 2 --start 2000-12-31T00:00

You do not have to specify the --start time, but by doing so delineates the point at which the snapshot is created. This is especially useful when you want to keep data from a specific date or time as your Daily, Weekly, Monthly or Yearly snapshot. As LucidLink calculates onward from the date specified it is possible to use a date set in the past to drive the appropriate retention behavior. The above snapshot schedule is an example, and should be modified to suit your retention needs. You will now see snapshots start showing up every 15 minute mark when you run lucid snapshot --list.

 

List snapshots:

lucid snapshot --list
ID      STATE       NAME                    CREATED ON
1       valid       Hourly                  2019-06-20 12:00
2       valid       15 minutes              2019-02-20 12:15


Delete snapshot:

lucid snapshot --delete <id>


To activate a snapshot, allowing read only access to it, you can use the command line. We will be using a seperate LucidLink Client instance id for this, just like what would happen if you link to multiple filespaces on the same system.

First start a new instance using lucid --instance 1000 daemon and then link your filespace lucid --instance 1000 link --fs <filespace.domain> --password <sharedsecret>.

 

Activate and mount your snapshot:

lucid --instance 1000 activate --snapshot <id>

#mount on Windows
lucid --instance 1000 mount S:

#mount on Linux
lucid --instance 1000 mount ~/snapshots


Please reach out to LucidLink Support should you require any further assistance.