Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8186181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:06:27+00:00 2026-06-07T02:06:27+00:00

I manage a VPS of my client. He wanted a backup solution includes some

  • 0

I manage a VPS of my client. He wanted a backup solution includes some folders and mysql databases. OS is Ubuntu, web server is apache. I don’t want my client to mess with ssh or ftp.

I think i can save database backup files and trigger PHP’s exec function from a wab page to zip folders and database backup files, then give a link to download this zip file.

This is technically possible but i wonder if there is a better solution except automatically copying backup files to another server. Because creating backups anytime is required in my situation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:06:29+00:00Added an answer on June 7, 2026 at 2:06 am

    There are lots of possibilities, here is a very simple one we use every day:

    • create a backup script (e.g. in bash) with the usual suspects as mysqldump, tar and date
    • make sure, this backup script locks against double runs
    • create a cron job, that runs every minute, checks if a flagfile exists, and if yes starts the backup script and then clears the flagfile
    • if you want, create more cron jobs (e.g. a daily one), that do nothing but set the flagfile
    • create a trivial PHP script, that just touches the flagfile to trigger an adhoc backup
    • You can download the finished backup package, once the flagfile is cleared (again check via a trivial PHP script)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a ubuntu lucid VPS server where I try to run my django
I manage a secured PHP/MySQL web app with extensive jQuery use. Today, a strange
I manage a server with around 400+ databases which have the same database schema,
I've deployed, after some struggle, a web-app on a (remote) Tomcat 5.5 server (Turnkey
I manage a web application for a client with the following specs: ASP.net 3.5
I manage to identify duplicate records from two different databases: select * from taskperformance
Possible Duplicate: How to Manage CSS Explosion I intended to build my web site
I manage a large number of shell (ksh) scripts on server A. Each script
I'd like a system where I can manage my LAMP server. It is a
I manage a iPhone/Android project and one of these days my client asked me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.