Comment 1 for bug 1420054

Revision history for this message
Alexander Bozhenko (alexbozhenko) wrote :

My 2 cents:

[root@fuel ~]# fuel snapshot --dir /var/www/nailgun/dump/snapshot_1
Generating dump...
Downloading: http://10.20.7.2:8000/dump/fuel-snapshot-2015-02-10_01-21-57.tgz Bytes: 253419832
[==============================================================================]()
[root@fuel ~]# fuel snapshot
Generating dump...
Downloading: http://10.20.7.2:8000/dump/fuel-snapshot-2015-02-10_02-07-25.tgz Bytes: 253894455
[==============================================================================]()

[root@fuel dump]# ls -la /var/www/nailgun/dump/
total 495436
drwxr-xr-x 3 root root 122 Feb 10 02:47 .
drwxr-xr-x. 7 root root 4096 Jan 4 06:54 ..
-rw-r--r-- 1 root root 253419832 Feb 10 02:02 fuel-snapshot-2015-02-10_01-21-57.tgz
-rw-r--r-- 1 root root 253894455 Feb 10 02:47 fuel-snapshot-2015-02-10_02-07-25.tgz
-rw-r--r-- 1 root root 59 Feb 10 02:47 last
drwxr-xr-x 2 root root 50 Feb 10 02:02 snapshot_1

After creation of two snapshots both of them have a copy stored in /var/www/nailgun/dump/.
Is it by mistake, or design, that we store all previous snapshots without rotation somewhere in the filesystem, occupying space, and not talking to the user about that? To figure out the directory one should check the source code.