Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th October 2010, 04:17
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default how to exclude *.tar.gz from duplicity backup?

Searched for about an hour, but I can't find example on the net of how to exclude all tar.gz files from my Duplicity backup.

thanks in advance if you have the answer
Reply With Quote
Sponsored Links
  #2  
Old 9th October 2010, 04:55
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default

I ran

find -name *.tar.gz

to get a list of all of them, then saved that as a text file and put this in the duplicity command line:

--exclude-filelist /disk2/backups/targzlist.txt

which works, but I'm still thinking there must be a way to exclude all of a certain file type such as tar.gz
Reply With Quote
  #3  
Old 17th February 2012, 12:35
PermaNoob PermaNoob is offline
Senior Member
 
Join Date: Jan 2007
Posts: 194
Thanks: 12
Thanked 5 Times in 5 Posts
Default

Bumping to see if anyone knows of a new and easier way to do this now.

Last edited by PermaNoob; 17th February 2012 at 12:46.
Reply With Quote
  #4  
Old 15th March 2014, 15:09
gbj gbj is offline
Junior Member
 
Join Date: Apr 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Remember to add it before your --include

--exclude **\*.tar.bz2

in your case:

--exclude **\*.tar.gz

Last edited by gbj; 17th March 2014 at 06:42.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup script for ISPConfig 3 datahellas Tips/Tricks/Mods 6 22nd April 2012 17:16
Online Backup : What do you use and how do you setup it ? XZed Technical 5 4th January 2010 19:02
Looking for an automatic backup for ISPConfig unsichtbare Installation/Configuration 1 2nd May 2008 15:33
[SHELL Script] - Backup WEB & DATABASES vaio1 Tips/Tricks/Mods 0 5th September 2007 15:48
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 11:07


All times are GMT +2. The time now is 23:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.