Koozali.org: home of the SME Server

No space left on device - workstation backup tmp store

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
No space left on device - workstation backup tmp store
« on: May 27, 2012, 04:15:16 PM »
Hi All,

I have 90GB worth of data and an 160GB backup disc.  Only a few minor changes of small size are ever made yet the second day backup fails because I suspect the temp file space is also on the backup disc?

Any way round this at all? [change temp directory?]

I think overwrite entire backup daily was what I was used to on 7.5.1 and would want to replicate something like that or alternatively an entire backup on one day then the tiny incremental on the other days - would that still use tmp on the backup device and send it over quota on the backup disc?

Thanks!

ps Guess I could create a cron job to clear the disc? Seems a bit of a cludge tho lol!

Ed: As usual SME devs / docs gets their before me!

http://wiki.contribs.org/Backup_with_dar#Howto_set_the_backup_file_slice_size
« Last Edit: May 27, 2012, 04:26:48 PM by gbentley »
"If you don't know what you want, you end up with a lot you don't."

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: No space left on device - workstation backup tmp store
« Reply #1 on: May 27, 2012, 05:56:24 PM »
I have 90GB worth of data and an 160GB backup disc.  Only a few minor changes of small size are ever made yet the second day backup fails because I suspect the temp file space is also on the backup disc?
Correct, IIRC there is even a warning on this in the backup configuration screen.

Any way round this at all? [change temp directory?]
No, changing the temp directory is not possible, but you could use incremental backups, which would save you some disk space.

ps Guess I could create a cron job to clear the disc? Seems a bit of a cludge tho lol!
That would be a bad idea as that would mean you would delete your backup before you successfully created a new more actual one. Why don't you just by extra disk space (not that expensive) or start using incremental backups?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: No space left on device - workstation backup tmp store
« Reply #2 on: May 27, 2012, 05:57:44 PM »
I actually have 2 x 160GB backup discs that are swapped nightly.

Would incremental only use a small amount of temp space?

And lastly is the mc support built into the wkstn backup on 8.x ?
« Last Edit: May 27, 2012, 05:59:43 PM by gbentley »
"If you don't know what you want, you end up with a lot you don't."

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: No space left on device - workstation backup tmp store
« Reply #3 on: May 27, 2012, 06:00:39 PM »
I actually have 2 x 160GB backup discs that are swapped nightly.
Then you rotation scheme might not be set correctly as the old one is not removed before creating a new backup and is therefore filling up your disk before it finishes backup.

NB Please stop editing you posts to add additional questions. It makes answering them harder, use the preview option before you submit or submit a new post please.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: No space left on device - workstation backup tmp store
« Reply #4 on: May 27, 2012, 06:10:27 PM »
gbentley

I think you meant this
http://wiki.contribs.org/Backup_with_dar#Backup_disk_size_limits_workaround

Full daily backups and delete the old first is the obvious answer for you.
For that "smallish" amount of data, then doing a full backup every day is OK timewise.

You could configure backups for a full every month and then incrementals every day in between.
If you swap the backup disk every so often, then change the one month frequency to whatever time period it is that you swap disks eg weekly or fortnightly etc, but you will be in trouble if you do not swap the disk on the correct day of the cycle.

You can restore from any day's backup, or the most recent backup, or do partial restores.

Given the size of the backup disk, you will still have troubles if you only use one disk, so you will need to implement the fix suggested (ie delete first before new full backup starts). It's easy to set the cron job to run every day, if you do a full backup every day.

Given that you will have ongoing hassles with full/incrementals & disk swapping, you might want to look at Affa. The process will be fully automated, and will better handle disk swapping on an irregular schedule.

Your choice.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: No space left on device - workstation backup tmp store
« Reply #5 on: May 27, 2012, 06:17:00 PM »
gbentley

Quote
Quote from: gbentley on Today at 08:15:16 AM
ps Guess I could create a cron job to clear the disc? Seems a bit of a cludge tho lol!

Quote
cactus answered: That would be a bad idea as that would mean you would delete your backup before you successfully created a new more actual one.

That would not really be an issue as you have 2 backup disks swapped daily, so the disk you use tonight is the backup from 2 nights ago, so you still have the most recent backup on the other disk.

As you already have those disks etc, then what you are doing sounds the simplest answer, ie full backup each night, then just add in the cron job to delete before the backup starts.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: No space left on device - workstation backup tmp store
« Reply #6 on: May 27, 2012, 06:21:10 PM »
gbentley

Quote
And lastly is the mc support built into the wkstn backup on 8.x ?

A while ago I was testing that on sme8beta and it did not seem to work, even though I installed the plugin as per the DAR2 wiki article.
I had to abandon further testing at that time due to other work.
I have been busy all day testing contribs on sme8.0 final, so you have reminded me to look at that issue again.

Bug reported here
http://bugs.contribs.org/show_bug.cgi?id=6947
« Last Edit: May 29, 2012, 08:07:43 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline gbentley

  • *****
  • 482
  • +0/-0
  • Forum Lurker
    • Earth
Re: No space left on device - workstation backup tmp store
« Reply #7 on: May 27, 2012, 06:21:53 PM »
Thanks for all replies!

I was trying to get it into my head just how much data incremental is likely to store in temp on the backup disc for incremental?

Can I assume it would only be as much data as there is in changed or added files only? If thats the case then there are hardly any changes [a few per week maybe] and virtually no additions. The data set is unlikely to grow any further. Its more of a disaster recovery off site if we are robbed / fire than a 'revisions' scenario.
"If you don't know what you want, you end up with a lot you don't."

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: No space left on device - workstation backup tmp store
« Reply #8 on: May 27, 2012, 07:03:04 PM »
gbentley
Quote
Can I assume it would only be as much data as there is in changed or added files only?

Yes
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.