[Bugs] [Bug 1189473] [RFE] While creating a snapshot the timestamp has to be appended to the snapshot name.
bugzilla at redhat.com
bugzilla at redhat.com
Tue Mar 10 11:42:04 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1189473
--- Comment #11 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9597 committed in master by Krishnan
Parthasarathi (kparthas at redhat.com)
------
commit 1ae8b4c33af175545d6afe99aeb7a21896960a35
Author: Mohammed Rafi KC <rkavunga at redhat.com>
Date: Thu Feb 5 16:12:53 2015 +0530
snapshot: append timestamp with snapname
Appending GMT time stamp with snapname by default.
If no-timestamp flag is given during snapshot creation,
then time stamp will not append with snapname;
Initial consumer of this feature is Samba's Shadow Copy
feature. This feature allows Windows user to get previous
revisions of a file. For this feature to work snapshot
names under .snaps folder (USS) should have timestamp in
following format appended:
@GMT-YYYY.MM.DD-hh.mm.ss
PS: https://www.samba.org/samba/docs/man/manpages/vfs_shadow_copy2.8.html
This format is configurable by Samba conf file. Due to a
limitation in Windows directory access the exact format
cannot be used by USS. Therefore we have modified the file
format to:
_GMT-YYYY.MM.DD-hh.mm.ss
Snapshot scheduling feature also required to append timestamp
to the snapshot name therefore timestamp is appended in
snapshot creation itself instead of doing the changes in
snapview server.
More info:
https://www.mail-archive.com/gluster-users@gluster.org/msg18895.html
Change-Id: Idac24670948cf4c0fbe916ea6690e49cbc832d07
BUG: 1189473
Signed-off-by: Mohammed Rafi KC <rkavunga at redhat.com>
Reviewed-on: http://review.gluster.org/9597
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Rajesh Joseph <rjoseph at redhat.com>
Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=N3nhvP7jcP&a=cc_unsubscribe
More information about the Bugs
mailing list