You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested your script and it works great! Many thanks for it (and its constant improvements)...
However, I would like to see (example of output) this written with time stamps:
sending srv2/zfs_id_1065@zrep_000235 to srv1:srv1/zfs_id_1065
Expiring zrep snaps on srv2/zfs_id_1065
Also running expire on srv1:srv1/zfs_id_1065 now...
Expiring zrep snaps on srv1/zfs_id_1065
Like
[1970-01-01 01:00:00] sending srv2/zfs_id_1065@zrep_000235 to srv1:srv1/zfs_id_1065
[1970-01-01 01:02:00] Expiring zrep snaps on srv2/zfs_id_1065
[1970-01-01 01:04:00] Also running expire on srv1:srv1/zfs_id_1065 now...
[1970-01-01 01:06:00] Expiring zrep snaps on srv1/zfs_id_1065
Or something similar (maybe if enabled, to specify format)...
I guess, it should not be so complicated, and our logs will show exact time when zrep was doing tasks.
With best regards
Predrag Zečević
The text was updated successfully, but these errors were encountered:
Hello,
sorry, I dont like how wide that makes the output.
I'm oldschool, and like output to nicely fit into 80 cols where possible :)
However, on the brighter side, you CAN see easily when snapshots were made, by using
zrep list -s
hamachi$ ./zrep list -s
Sample output:
NAME CREATION
rpool/zrepsrc@zrep_000000 Wed Mar 1 11:25 2017
rpool/zrepsrc@zrep_000001 Wed Mar 1 11:25 2017
rpool/zrepsrc@zrep_000002 Wed Mar 1 11:28 2017
rpool/zrepsrc@zrep_000003 Wed Mar 1 11:29 2017
Hi Phillip,
I have tested your script and it works great! Many thanks for it (and its constant improvements)...
However, I would like to see (example of output) this written with time stamps:
Like
Or something similar (maybe if enabled, to specify format)...
I guess, it should not be so complicated, and our logs will show exact time when zrep was doing tasks.
With best regards
Predrag Zečević
The text was updated successfully, but these errors were encountered: