CephFS Snapshot scheduler module
f.cuseo
66 Posts
July 30, 2024, 7:49 amQuote from f.cuseo on July 30, 2024, 7:49 amHello.
I am using a PetaSAN cluster (3 nodes) with 2 FS (one with SSD and one with HDD); i don't use NFS or ISCSI but CephFS to have less overhead and complexity, because I need it only mounted on 3 clients (mail servers).
Now, for my backup strategy, I would like to have a daily CephFS snapshot, keeping only the last 7 snapshots, and weekly i will backup all mailboxes on a different single server (and, again, from that server to an object storage petasan).
Have you ever tried CephFS snapshot scheduler ? Any problem with Petasan 3.3 ?
https://docs.ceph.com/en/latest/cephfs/snap-schedule/
Thanks, Fabrizio
Hello.
I am using a PetaSAN cluster (3 nodes) with 2 FS (one with SSD and one with HDD); i don't use NFS or ISCSI but CephFS to have less overhead and complexity, because I need it only mounted on 3 clients (mail servers).
Now, for my backup strategy, I would like to have a daily CephFS snapshot, keeping only the last 7 snapshots, and weekly i will backup all mailboxes on a different single server (and, again, from that server to an object storage petasan).
Have you ever tried CephFS snapshot scheduler ? Any problem with Petasan 3.3 ?
https://docs.ceph.com/en/latest/cephfs/snap-schedule/
Thanks, Fabrizio
admin
2,930 Posts
July 30, 2024, 10:37 amQuote from admin on July 30, 2024, 10:37 amThe UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
The UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
f.cuseo
66 Posts
July 30, 2024, 10:44 amQuote from f.cuseo on July 30, 2024, 10:44 am
Quote from admin on July 30, 2024, 10:37 am
The UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
Thank you very much:
root@petamail-02:~# ceph fs snap-schedule add / 1d 2024-07-31T06:00:00 cephfs_hdd
Schedule set for path /
root@petamail-02:~# ceph fs snap-schedule retention add / d 7 --fs cephfs_hdd
Retention added to path /
root@petamail-02:~# ceph fs snap-schedule activate / --fs cephfs_hdd
Schedule activated for path /
root@petamail-02:~# ceph fs snap-schedule list / --recursive=true --fs cephfs_hdd
/ 1d 7d
I will see tomorrow 🙂
Quote from admin on July 30, 2024, 10:37 am
The UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
Thank you very much:
root@petamail-02:~# ceph fs snap-schedule add / 1d 2024-07-31T06:00:00 cephfs_hdd
Schedule set for path /
root@petamail-02:~# ceph fs snap-schedule retention add / d 7 --fs cephfs_hdd
Retention added to path /
root@petamail-02:~# ceph fs snap-schedule activate / --fs cephfs_hdd
Schedule activated for path /
root@petamail-02:~# ceph fs snap-schedule list / --recursive=true --fs cephfs_hdd
/ 1d 7d
I will see tomorrow 🙂
Last edited on August 1, 2024, 6:53 am by f.cuseo · #3
CephFS Snapshot scheduler module
f.cuseo
66 Posts
Quote from f.cuseo on July 30, 2024, 7:49 amHello.
I am using a PetaSAN cluster (3 nodes) with 2 FS (one with SSD and one with HDD); i don't use NFS or ISCSI but CephFS to have less overhead and complexity, because I need it only mounted on 3 clients (mail servers).
Now, for my backup strategy, I would like to have a daily CephFS snapshot, keeping only the last 7 snapshots, and weekly i will backup all mailboxes on a different single server (and, again, from that server to an object storage petasan).
Have you ever tried CephFS snapshot scheduler ? Any problem with Petasan 3.3 ?
https://docs.ceph.com/en/latest/cephfs/snap-schedule/
Thanks, Fabrizio
Hello.
I am using a PetaSAN cluster (3 nodes) with 2 FS (one with SSD and one with HDD); i don't use NFS or ISCSI but CephFS to have less overhead and complexity, because I need it only mounted on 3 clients (mail servers).
Now, for my backup strategy, I would like to have a daily CephFS snapshot, keeping only the last 7 snapshots, and weekly i will backup all mailboxes on a different single server (and, again, from that server to an object storage petasan).
Have you ever tried CephFS snapshot scheduler ? Any problem with Petasan 3.3 ?
https://docs.ceph.com/en/latest/cephfs/snap-schedule/
Thanks, Fabrizio
admin
2,930 Posts
Quote from admin on July 30, 2024, 10:37 amThe UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
The UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
f.cuseo
66 Posts
Quote from f.cuseo on July 30, 2024, 10:44 amQuote from admin on July 30, 2024, 10:37 amThe UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
Thank you very much:
root@petamail-02:~# ceph fs snap-schedule add / 1d 2024-07-31T06:00:00 cephfs_hdd
Schedule set for path /root@petamail-02:~# ceph fs snap-schedule retention add / d 7 --fs cephfs_hdd
Retention added to path /root@petamail-02:~# ceph fs snap-schedule activate / --fs cephfs_hdd
Schedule activated for path /
root@petamail-02:~# ceph fs snap-schedule list / --recursive=true --fs cephfs_hdd
/ 1d 7dI will see tomorrow 🙂
Quote from admin on July 30, 2024, 10:37 amThe UI has support for our built-in scheduler which supports NFS, SMB and iSCSI snapshots. To work directly with CephFS snapshot scheduler you can use the cli as per the link you posted.
Thank you very much:
root@petamail-02:~# ceph fs snap-schedule add / 1d 2024-07-31T06:00:00 cephfs_hdd
Schedule set for path /
root@petamail-02:~# ceph fs snap-schedule retention add / d 7 --fs cephfs_hdd
Retention added to path /
root@petamail-02:~# ceph fs snap-schedule activate / --fs cephfs_hdd
Schedule activated for path /
root@petamail-02:~# ceph fs snap-schedule list / --recursive=true --fs cephfs_hdd
/ 1d 7d
I will see tomorrow 🙂