Jump to content

How Backup Cronjob Delete/overwrite .tar.gz Files


Recommended Posts

:) Back from the crypt,

 

I asked this question on another thread but got no replies, so maybe a new thread on this topic may stir more dialogue.

 

How can backup cron job, referenced in above link, delete all but most recent backup to eliminate need to manually delete older backups to save webserver disk space? The cron job referenced creates a backup named as below on a daily basis and locates the backup at webserver root:

 

backup-12.30.2006_03-30-03_cpanelid.tar.gz ; over time disk space is filled up and older backups have to be deleted manually.

Link to post
Share on other sites

Since no one answered your original question (the one you linked to) I would assume there is no one who knows if what you originally wanted to do is possible.

 

Why you want the backup stored in your account? If the server crash or is down for any reason you have no access to the backup.

 

Instead I would look in to either this or this solution (depending on your needs) and have it emailed to lets say a gmail address.

Link to post
Share on other sites
Why you want the backup stored in your account? If the server crash or is down for any reason you have no access to the backup. ?
because it is quick and easy.

 

Instead I would look in to either this or this solution (depending on your needs) and have it emailed to lets say a gmail address.
Is the omicron solution slightly better ?
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...