Register
Login
Contribute
Subscribe
RSS
News
FAQForge
ISPConfig
Subscribe
Contribute
Forums
Howtos
Navigation
Howtos
Linux
Android
CentOS
Debian
Fedora
Kernel
Mandriva
PCLinuxOS
SuSE
Ubuntu
Web Server
Apache
Cherokee
Lighttpd
nginx
Backup
Control Panels
ISPConfig
DNS
BIND
MyDNS
PowerDNS
djbdns
Desktop
Email
Anti-Spam/Virus
Postfix
FTP
High-Availability
Lighttpd
Monitoring
MySQL
Programming
C/C++
PHP
Samba
Security
Anti-Spam/Virus
Storage
Virtualization
KVM
OpenVZ
VMware
VirtualBox
Xen
Other
FreeBSD
Commercial
Mini-Howtos
Linux
Apache
Backup
DNS
Errors
FTP
MySQL
Networking
PHP
Postfix
Security
Sendmail
Shell
Other
ISPConfig
Forums
Contribute
Create Content
Subscription
Login
Site Map/RSS Feeds
Facebook
News
$99 HDMI stick turns displays into virtual desktops
Review of the new Digital Public Library of America
Perform scalable distributed monitoring of Clusters and Grids
Hybryde Fusion: A very unique Linux distribution
PAEs Hide Real Party of Interest: A Veritable Shell Game
Kubuntu 13.04 Raring Ringtail review - Cushty
Linux Top 3: Mageia 3, Linux Mint 15 and New Linux Kernels for All
Using Salt Stack and Vagrant for Drupal Development
Jolla seeks Sailfish smartphone pre-orders
Linux Vim Editor Tips and Tricks – Save Time Through Macros and Bookmarks
more
Recent comments
Merci
14 hours 31 min ago
I found that php_flag
19 hours 30 min ago
Great stuff!
20 hours 56 min ago
Wonderful Howto
21 hours 49 min ago
Hoi,do not plan on virtual
23 hours 32 min ago
Thank you for posting
1 day 3 hours ago
Thank you. Â Excellent
1 day 4 hours ago
Re: The structure of the passdb file
1 day 7 hours ago
using googles open dns 8.8.8.8 8.8.4.4
1 day 20 hours ago
Re: Re: Re: Re: I can't believe people are
1 day 21 hours ago
Newsletter
Subscribe to HowtoForge Newsletter
and stay informed about our latest HOWTOs and projects.
(To unsubscribe from our newsletter, visit this
link
.)
English
|
Deutsch
|
Site Map/RSS Feeds
|
Advertise
HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials
>
ISPConfig 3
>
General
script problem
User Name
Remember Me?
Password
Register
FAQ
Members List
Social Groups
Calendar
Search
Today's Posts
Mark Forums Read
Do you like HowtoForge? Please consider supporting us by
becoming a subscriber
.
Thread Tools
Display Modes
#
1
28th July 2010, 20:19
admins
Senior Member
Join Date: Apr 2009
Location: Switzerland
Posts: 208
Thanks: 6
Thanked 2 Times in 2 Posts
script problem
Hi all
I've the backupscript of franz on my server. My problem is now, that i couldn't enable, that the script delete backups wich are older than ...
How could I delete folders and files on the path /backup if they are older than a month easy per script?
Thanks
admins
admins
View Public Profile
Send a private message to admins
Find all posts by admins
Sponsored Links
#
2
29th July 2010, 15:28
falko
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
Take a look at the find command:
Code:
man find
The /usr/local/sbin/mysqlbackup.sh script on
http://www.howtoforge.com/back_up_my..._interruptions
has an example how to put this to use.
__________________
Falko
--
Download the
ISPConfig 3 Manual
! | Check out the
ISPConfig 3 Billing Module
!
FB:
http://www.facebook.com/howtoforge
nginx-Webhosting: Timme Hosting
| Follow me on:
falko
View Public Profile
Send a private message to falko
Visit falko's homepage!
Find all posts by falko
#
3
29th July 2010, 15:45
Franz
Senior Member
Join Date: Jul 2009
Location: Cakovec
Posts: 113
Thanks: 6
Thanked 22 Times in 17 Posts
Quote:
Originally Posted by
admins
Hi all
I've the backupscript of franz on my server. My problem is now, that i couldn't enable, that the script delete backups wich are older than ...
How could I delete folders and files on the path /backup if they are older than a month easy per script?
Thanks
admins
HI,
I'm glad somebody use my script
command is:
find ... -mtime +10 ..
it delete files older then 10*24h+24h
so it is 11 days
__________________
my PAGE
VoIP
my IT help blog
Franz
View Public Profile
Send a private message to Franz
Visit Franz's homepage!
Find all posts by Franz
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Linux Forums
HOWTO-Related Questions
Installation/Configuration
Server Operation
Desktop Operation
Kernel Questions
Programming/Scripts
Technical
Suggest HOWTO
ISPConfig 3
General
Installation/Configuration
ISPConfig 3 Priority Support
Plugins/Modules/Addons
Tips/Tricks/Mods
Feature Requests
Developers' Forum
ISPConfig 2
General
Installation/Configuration
Tips/Tricks/Mods
Feature Requests
Developers' Forum
MyDNSConfig
General
Other Forums
Smalltalk
Forum Suggestions
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Backup script for ISPConfig 3
datahellas
Tips/Tricks/Mods
6
22nd April 2012
16:16
Problem with Perl Script in Linux Web Browser
sakthi
Programming/Scripts
1
14th December 2009
09:18
problem with script
DDD_DDD
Server Operation
10
7th December 2009
15:00
sending e-mail using mail() function
linuxuser1
HOWTO-Related Questions
38
21st April 2009
12:20
Virtual users... Ubuntu 8.04
spaceuser
HOWTO-Related Questions
12
19th June 2008
08:04
All times are GMT +2. The time now is
16:55
.
Contact Us
-
HowtoForge - Linux Howtos and Tutorials
-
Archive
-
Top
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Recent comments
14 hours 31 min ago
19 hours 30 min ago
20 hours 56 min ago
21 hours 49 min ago
23 hours 32 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 7 hours ago
1 day 20 hours ago
1 day 21 hours ago