WebFaction
Community site: login faq
0
2

Hello,

after reading Webfaction docs, I already have a cron job that makes daily backups, but now, I would like to configure a task that makes daily backups in the same way as Webfaction logs: rotating and compressing dump files. After some googling, I found logrotate. I tried to configure it with my Webfaction account, but it seems that I don't have enough privileges to use it.

Any ideas? Thanks.

asked 28 Apr '11, 04:42

Sergio Rus
2338
accept rate: 0%

edited 28 Apr '11, 04:43


Logrotate is already installed on our side though it is not on the default path. To call it, you need to run:

/usr/sbin/logrotate --help

You will need to use your own configuration and state files to use logrodate from your account. You can check "man logrotate" for the exact configuration syntax.

permanent link

answered 28 Apr '11, 04:51

tie
1.4k13
accept rate: 44%

OK I didn't name the status file as "lograte.status". Now, it works.

Thanks.

(28 Apr '11, 05:04) Sergio Rus
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×168
×81
×36
×6

question asked: 28 Apr '11, 04:42

question was seen: 6,185 times

last updated: 28 Apr '11, 05:04

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM