Welcome! » Log In » Create A New Profile

disk full

Posted by Anonymous 
disk full
March 28, 2015 06:33PM
Dear All

the subject says it: the disk is full, the backup aborted. Bad!
Obviously, gett a bigger disk would help.
But I would be happy with the oldest files to be deleted automatically.
Is there a way to do this?

Alternatively, is there a way to manually remove the oldest?

Maybe someone can help.

Thanks in advance

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
disk full
March 28, 2015 07:14PM
Eildert,

Your rsnapshot config file should have some lines that start with
"retain" or "interval". (Both words mean the same thing to rsnapshot
v1.3.1 but "retain" is preferred because its meaning is clearer.)

For example you might have
retain daily 7
retain weekly 4
retain monthly 3

If I am running out of disk space for backups, my usual approach is to
reduce the numbers on some of those retain lines and manually remove
the backups which should no longer be retained. You can just remove
them like this
rm -rf $snapshot/monthly.2
if you reduce retain monthly from 3 to 2, for example.

Because rsnapshot only keeps a fixed number of backups, the amount
of disk space used for backups tends to remain fairly similar (after
the full set of backups exist, which would take 3 months in my example)
unless the size of the source files change a lot, or there is an unusual
amount of change in source files compared with previously, or something
goes wrong with rsnapshot (like it stops linking unchanged files from
the previous backup with the current backup).

On Sat, Mar 28, 2015 at 09:08:07PM +0100, Eildert Groeneveld wrote:
[quote]Dear All

the subject says it: the disk is full, the backup aborted. Bad!
Obviously, gett a bigger disk would help.
But I would be happy with the oldest files to be deleted automatically.
Is there a way to do this?

Alternatively, is there a way to manually remove the oldest?

Maybe someone can help.

Thanks in advance

[/quote]
--
___________________________________________________________________________
David Keegel <djk < at > cyber.com.au> Cyber IT Solutions Pty. Ltd.
http://www.cyber.com.au/~djk/ Linux & Unix Systems Administration

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
disk full
March 28, 2015 10:21PM
Hallo, Eildert,

Du meintest am 28.03.15:

[quote]the subject says it: the disk is full, the backup aborted. Bad!
Obviously, gett a bigger disk would help.
[/quote]
That's the only reasonable way.

[quote]But I would be happy with the oldest files to be deleted
automatically. Is there a way to do this?
[/quote]
David has told you how to do.

But: just run

rsnapshot du

and then you can see how big is the amount from one backup to another.
If all has run fine then there should be only a small amount from one
older to the next older backup, only the first backup should show a big
value.

Take a look at

http://arktur.de/Wiki/Rsnapshot#Zeit-_und_Platzbedarf

Viele Gruesse!
Helmut

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Sorry, only registered users may post in this forum.

Click here to login