× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

taking snapshot via command line or crontab

simonhang
Aspirant

taking snapshot via command line or crontab

I'm wondering how to take snapshot of filesystem via crontab on OS6 btrfs.

 

I know how to take snapshot of btrfs, but these snapshot is not registered in frontview. How can I take one via commandline which will show up in frontview's timeline?

 

Thanks,

Simon

Message 1 of 6

Accepted Solutions
Skywalker
NETGEAR Expert

Re: taking snapshot via command line or crontab

Try `rn_nml -h` for ideas.

View solution in original post

Message 4 of 6

All Replies
mdgm-ntgr
NETGEAR Employee Retired

Re: taking snapshot via command line or crontab

Why do you want to do this?

 

You can already configure the NAS to take snapshots on a schedule using the UI.

Message 2 of 6
simonhang
Aspirant

Re: taking snapshot via command line or crontab

What I want to do is

 

1. Wake up my readynas on schedule

2. Do a snapshot for my readynas

3. Run a couple of backup from network source

4. shutdown my readynas

 

I can do 1,3,4. Step 3 & 4 I can do via my own script, but I cannot triggle a snapshot before invoke the backup. It will be ideal to have one before backup, in case some files are deleted by mistakes at least will be kept in snapshot.

 

The auto schedule is not really working for my case.

 

Thanks,

Simon

Message 3 of 6
Skywalker
NETGEAR Expert

Re: taking snapshot via command line or crontab

Try `rn_nml -h` for ideas.

Message 4 of 6
simonhang
Aspirant

Re: taking snapshot via command line or crontab

Many thanks, with 6.4 rn_nml has the option of taking snapshot!

 

One question, If I take snapshot using type 1(cont.), is there a build-in way to control how many snapshot to keep?

 

 

Message 5 of 6
Skywalker
NETGEAR Expert

Re: taking snapshot via command line or crontab

No, that's not configurable currently.

Message 6 of 6
Top Contributors
Discussion stats
  • 5 replies
  • 4019 views
  • 1 kudo
  • 3 in conversation
Announcements