Koozali.org: home of the SME Server

on the fly compression

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
on the fly compression
« on: April 19, 2012, 07:10:11 PM »
I have a sme server at home purly to backup using affa some production boxes. But space is becoming a premium.
Im wondering if there is a way like on windows to compress a directory so it can still be used.
Performance isnt an issue as its purly there to hold data.

Thanks.

James

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: on the fly compression
« Reply #1 on: April 20, 2012, 01:56:03 AM »
jameswilson

Did you read the Affa wiki ?

Affa uses hard links so compression is probably not viable.

You would need to reduce the number of old backups retained using the settings for
scheduledKeep
dailyKeep
weeklyKeep
monthlyKeep
yearlyKeep

and then use the command
affa --cleanup JOB

to remove the old backups, to quote
"After you have lowered a keep value, e.g. , then archives with a higher indices will no longer be shifted and will exist for ever. This option finds these archives and deletes them.  you can delete or purge the oldest backups"
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: on the fly compression
« Reply #2 on: April 20, 2012, 12:28:38 PM »
oh ok fair enough. Its not age old files that are the issue just i am backing to many machines up. Only put a 500 gig drive in it.

Ill put a bigger one in

thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: on the fly compression
« Reply #3 on: April 20, 2012, 05:14:08 PM »
Im wondering if there is a way like on windows to compress a directory so it can still be used.

In theory yes, but in practice much more trouble than it is worth.