Current time: 11-17-2024, 09:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
exclude files from backup?
Author Message
Catscrash Offline
Junior Member
*

Posts: 27
Joined: Oct 2008
Reputation: 0
Post: #1
exclude files from backup?
Hi,

is there a way to exclude folders from the daily backup that is made from every virtual host?

thanks
Catscrash
11-17-2010 07:19 PM
Find all posts by this user Quote this message in a reply
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #2
RE: exclude files from backup?
open /var/www/ispcp/engine/backup/ispcp-backup-all

search for:
Code:
--exclude=phptmp

insert into this line what you want exclude:
Code:
--exclude=DIRECTORY_NAME
(This post was last modified: 11-17-2010 07:28 PM by Kika.)
11-17-2010 07:27 PM
Find all posts by this user Quote this message in a reply
Catscrash Offline
Junior Member
*

Posts: 27
Joined: Oct 2008
Reputation: 0
Post: #3
RE: exclude files from backup?
should i put an absolute path in there or something relative to... to what?
11-17-2010 07:39 PM
Find all posts by this user Quote this message in a reply
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #4
RE: exclude files from backup?
sample folder tree:
dir1/config/a.php
dir1/dir2/config/b.php

if you use --exclude=config than all path will exclude witch contains the "config" pattern, but is you use --exclude=dir1/config than only the first line will exclude from example
(This post was last modified: 11-17-2010 07:51 PM by Kika.)
11-17-2010 07:50 PM
Find all posts by this user Quote this message in a reply
Catscrash Offline
Junior Member
*

Posts: 27
Joined: Oct 2008
Reputation: 0
Post: #5
RE: exclude files from backup?
thanks, works fine
11-18-2010 06:21 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)