Backups
See every snapshot of an environment, take one before a change, restore any part of it, download or delete it, and set the schedule and hourly backups.
A snapshot holds an environment's code, its database, and its uploads, plus a manifest of the platform settings: the PHP version, the code mode, the branch, and the live release. Open your site, then Backups, to see them. Snapshots stay on the same server as your site. WP Waterfall also keeps its own copy in another region (see "A second copy that WP Waterfall keeps").
Open it
- Open a site and pick the environment in the top bar.
- Choose Backups.
The page is called Environment backups, and the card shows which environment you are looking at. The list shows every snapshot of that environment, newest first, with its type, note, size, status, and the date it expires. There are four kinds, each with its own tab above the list:
- Daily snapshots that WP Waterfall takes on a schedule (weekly ones show here too).
- Hourly snapshots from the Hourly Backups add-on, every 6 hours or every hour, each kept 24 hours. The tab shows while the add-on is on for the environment.
- Manual snapshots that you take.
- System-generated snapshots that WP Waterfall takes before a risky change.
A fifth tab, Download, does not list snapshots. It makes one archive of the whole environment for you to keep (see "Make a downloadable backup of the whole environment").
Use the search box to find a note, the status menu to show only ready, in progress, or failed snapshots, and the refresh button to reload the list. The list also refreshes on its own while a snapshot is being taken or restored. The Schedule and retention card at the bottom sets the schedule and sums up how long each kind is kept.
Take a snapshot
Choose Back up now before you change something. Add a note if you like, so you can find it later, and pick how long to keep the snapshot: 14 days (the default), 30 days, or 6 months. The dialog shows how many of your 5 manual snapshots are used. The snapshot runs as a job, and the dashboard shows its progress.
An environment holds up to 5 manual snapshots at a time. At 5, the button in the dialog is off for a manual backup, and its tooltip says to delete one first. Deleting a snapshot gives its place back at once, and so does the end of its time. Daily, weekly, hourly, and system snapshots, and the restore point taken before a copy into live, never count toward the 5. WP Waterfall never deletes a manual snapshot before the date in its Kept until column, and it never deletes one to make room. A snapshot you took before you could pick a time was kept 14 days, and it keeps that date.
A long time keeps the snapshot, not every release of your code. Live keeps only its recent releases, so restoring the code of an old snapshot to live can answer that the release is gone. The database and the uploads still restore, and a restore into staging brings the code back from the snapshot's commit. Deleting an environment ends its snapshots too: they go with the environment's kept copy after 30 days, whatever time you picked.
What WP Waterfall takes on its own
WP Waterfall takes a system snapshot before a risky change: a PHP change, a search and replace, a clone, a restore, or a deploy. System snapshots are kept 48 hours.
WP Waterfall keeps the newest 10 system snapshots of each environment and deletes older ones, even before their 48 hours are up. The restore point taken before a copy into live is the exception: it is kept 14 days, it is not part of the 10, and it does not count toward your five manual snapshots.
How a snapshot keeps your database
On plans and tiers that include ZFS restore points (the larger ones), daily, weekly, hourly, and manual snapshots are ZFS snapshots of the whole environment disk, so they are taken in moments and do not copy your database. They restore, download, and expire like any other snapshot. Only system snapshots, the ones WP Waterfall takes before a risky change, also keep a database dump. Others keep a dump in every snapshot. Snapshots you took before your plan or tier changed stay as they are and still restore.
The code is kept too. In Git mode, WP Waterfall keeps the exact commit reachable for as long as the snapshot exists, so cleaning up the repository cannot lose it. In SFTP mode, WP Waterfall first commits any changes made over SFTP or in wp-admin to the environment's branch (as WP Waterfall, with a message that starts "Backup"), then keeps that commit the same way. Uploads, caches, wp-config.php, the WP Waterfall plugin, ignore: paths, and files that look like secrets are never committed. If the commit fails, the database and uploads are still backed up, and the snapshot says its code was not saved and why.
A second copy that WP Waterfall keeps
Once a day WP Waterfall also copies your live and staging environments (code, uploads, and a database dump) to storage in another region, so the loss of a server does not lose your site. A site you have not launched yet is copied too. You do not set it up, it is not billed, and you cannot restore from it yourself. The In another region line in the Schedule and retention card shows when the environment you are looking at was last copied, and says so if a copy is late.
If a server is lost, WP Waterfall builds your site again on another server from the newest copy, with its address and domains, and tells you. Anything you changed after that copy is not in it, so a restore can lose up to 24 hours of changes, and more if a copy was late.
This copy does not replace off-site backups to your own bucket, which you control and can keep as long as you like. Test sites, preview environments, and sites on your own dedicated server are not copied.
Schedule and retention
Every environment is backed up once a day at 03:00 UTC, and the last 14 scheduled backups are kept, until you change it. In the Schedule and retention card:
- Choose Daily, Weekly, or Off under Scheduled backups.
- For weekly backups, choose the day.
- Choose the time (UTC) and how many scheduled backups to keep. The most you can keep is the backup days of your plan or the site's tier: 14, 20, or 30. The menu offers nothing above it, and the API answers 422 for a higher number. When you move to a plan or tier with fewer backup days, WP Waterfall keeps only that many from then on.
- Choose Save schedule.
When a new scheduled backup pushes the count past what you keep, WP Waterfall deletes the oldest. Turning scheduled backups off does not stop manual or system snapshots.
With the Hourly Backups add-on on for the environment, the same card also shows Hourly backups. It leaves the daily schedule as it is.
Hourly backups
Hourly Backups is an add-on that backs up an environment every 6 hours or every hour, on top of the daily backup. Use it for sites that change often, such as online stores. The price and the billing rules are in Add-ons.
- Open the site, pick the environment at the top of the page (live and staging each have their own hourly backups), and choose Add-ons in the site menu.
- On the Hourly Backups card, choose Enable, check the monthly total, and choose Enable again. Hourly backups start at every 6 hours, and the first one runs at the next slot.
- To change how often, open Backups, and in the Schedule and retention card, under Hourly backups, choose Every 6 hours or Every hour.
The choice saves when you pick it, and the page says Hourly backups saved. Both cost the same, so switching never changes your bill. The next backup follows the new choice from the next run. Members who can edit environments (owners, admins, and developers) see the choice. Viewers read the current choice in the line above the schedule form. Without the add-on, the page shows nothing about hourly backups.
Each hourly backup is kept 24 hours, then removed on its own. It shows on the Hourly tab, and you restore it like any other snapshot.
Disable on the Add-ons card turns hourly backups off now. The environment goes back to the daily backup, the hourly backups already taken stay until they expire, and the unused days are credited. If you turn it on again later, it starts at every 6 hours.
Sandbox sites
A sandbox site, which only an Enterprise account has, keeps every backup 3 days. The Back up now dialog has no length to pick, and the schedule keeps 3 backups at most. A restore of a backup larger than the sandbox's 5 GB answers 409 sandbox_disk_full before it starts.
Restore
- Open the snapshot's menu (the three dots at the end of its row) and choose Restore.
- Pick the environment to restore into: the snapshot's own environment or another environment of the same site. For example, restore yesterday's live into staging. Live is a target only for a snapshot of live. To bring data from staging or a preview into live, use Copy into live, which asks you to type live's address first.
- Tick what to restore: Code, Database, and Files (uploads). All three are ticked at first, and at least one stays ticked. Any mix works, for example the database alone, or code and uploads.
- Type the target environment's name to confirm. When the target is live, the dialog also lists what will be replaced.
WP Waterfall takes a snapshot of the target first, with all three parts, so a bad restore is one click to undo. The restore runs as a job.
How code comes back
- Staging or a preview, in either mode. Git is the source of truth, so a snapshot taken in one mode restores into either. WP Waterfall adds a new commit to the environment's branch that restores the code of the snapshot. It keeps your history and rewrites nothing, then, in Git mode, builds the code and swaps it in. In SFTP mode, it commits any changes made since the snapshot first, then brings the writable files to the branch, so nothing is lost. If the code already matches, WP Waterfall says so and does nothing for code.
- Git mode, live. Code on live is read-only and changes only by a release. Restoring Code on live switches live to the release the snapshot ran, the same as a rollback. If that release was pruned, WP Waterfall says so and restores the other parts.
- What never changes. WP Waterfall's own files and secrets, such as
wp-config.phpand the WP Waterfall must-use plugin (wpwaterfall.phpand thewpwaterfallfolder inwp-content/mu-plugins), are never touched by a restore. Your own must-use plugins beside them are code and come back with it. An off-site snapshot taken before WP Waterfall saved that folder leaves it as it is. - Older snapshots. A snapshot taken before WP Waterfall saved code has no code. Code is unticked and cannot be chosen, and the database and uploads restore as before.
When WP Waterfall cannot restore code, it answers with a plain sentence in the dialog and changes nothing.
Restoring to live through an API key needs the backups:restore_live scope. See API keys and scopes. A snapshot of staging or a preview sent to live answers 409 with the code use_copy_into_live.
Download a backup
A company can download 5 backups in 7 days, across all its sites. That counts each prepared snapshot download and each link to a downloadable backup of a whole environment. If you need more, message Nami from the chat button and we will make the download for you.
- Open the snapshot's menu and choose Download.
- WP Waterfall packs the database, the uploads, and the code into one
.tar.gzfile. A large site can take a few minutes. - When it is ready, a banner shows Download backup. The link works for a short time; prepare it again if it expires.
WP Waterfall packs the file on your server, and first checks that the server has the room. If it does not, the download fails at once with a message that says how much working space it needs, and nothing on your site is changed. Message Nami from the chat button and we will make room.
The file holds database.sql.gz (import it with mysql or phpMyAdmin), wp-content/uploads/, code/, and manifest.json. It holds your whole database, including WordPress user emails and password hashes, and wp-config.php, so only people who may see credentials see Download: Owners, Admins, Developers, and Site Admins. WP Waterfall asks for your password first if you have not entered it in the last 10 minutes. The code/ folder never holds secrets or WP Waterfall's own files. A snapshot taken before WP Waterfall saved code has no code/ folder.
Make a downloadable backup of the whole environment
Choose Back up now at the top of the page, which works on every tab, then pick Download and choose Back up now again. On the Download tab the dialog opens on Download for you. WP Waterfall takes a fresh copy of the environment, packs it into one .tar.gz file, and keeps the file ready for 48 hours. A large site can take a few minutes. The table lists each one with Created, Expiry (the date and the time left), Link, and Download.
- What is in the file. The same as a downloaded snapshot:
database.sql.gz,wp-content/uploads/,code/, andmanifest.json. It holds your whole database, so only people who may see credentials see the Download choice in the dialog, Link, and Download. Making the file and each Download ask for your password if you have not entered it in the last 10 minutes. Everyone else can still make a manual backup and sees the table. - Once a week. Each environment can make one every 7 days, counted from the moment you asked. While the week is not over, the button in the dialog is off when Download is picked, and its tooltip says when the next one is possible. You can still make a manual backup. A backup that failed does not use the week, so you can try again. The API answers a second request with 409 and the code
download_backup_weekly_limit, and its sentence names the date. - It costs nothing. It does not use one of your five manual backups. It is not a snapshot either: nothing in the dashboard restores from it. To go back in time on the platform, take a snapshot.
- Download. Press Download as often as you like for 48 hours. Each press gets a new link that works for 15 minutes and starts the file.
- Link. Copy link copies an address of your dashboard, not of the file. Whoever opens it must be signed in, with access to credentials, and then the download starts. Send it only to people who may have your database.
- After 48 hours. WP Waterfall deletes the file. The row says Expired, with no buttons, until the week is over, and then it leaves the list.
- A server that waits for an update. The button is off and says so. WP Waterfall updates servers on its own, so try again later.
Delete a backup
Open the snapshot's menu and choose Delete, then confirm. If you have not entered your password in the last 10 minutes, WP Waterfall asks for it first. WP Waterfall removes it from the server, and it cannot be restored afterwards. A snapshot that is being taken or restored cannot be deleted until it finishes. The kept copy of a deleted environment goes on its own when it expires.
Deleted environments
Deleting a staging or preview environment keeps its snapshot for 30 days, so you can bring the environment back from where you left off.
Do snapshots protect me if the server is lost?
No. Snapshots protect you from a mistake: a bad plugin update, a wrong search and replace, a deleted page. They sit on the same server as your site, so if the server's disk is lost, its snapshots are lost with it. What protects you then is the copy in another region, which can be up to a day old. For a copy that you control, turn on Off-Site Backups, or download a backup now and then.
Scheduled snapshots are kept up to your backup days (14, 20, or 30). A schedule cannot keep more than your plan or tier allows.
Quick answers
Does a snapshot include my code? Yes. A snapshot holds your code, your database, and your uploads, and you choose which of them to restore. Snapshots taken before WP Waterfall saved code hold only the database and the uploads.
Is the downloadable backup the same as a snapshot? No. A snapshot lives on your server and WP Waterfall restores it for you. A downloadable backup is one file for you to keep, once a week, ready for 48 hours.
I made a mistake restoring. What now? Restore the snapshot WP Waterfall took right before your restore. It is at the top of the list.
API
GET /v1/environments/{id}/backupsPOST /v1/environments/{id}/backups(the body takeslabelandretention:14d(the default),30d, or6m; a sixth manual snapshot answers 409 with the codemanual_backup_limitbefore any job is queued)POST /v1/backups/{id}/restore(the body takesparts: any ofcode,database, andfiles, each once; left out, all three)POST /v1/backups/{id}/download(the finished job's result has the link)GET /v1/environments/{id}/download-backups(the last 7 days, newest first, never a link; itscreateobject says whether another one is possible and, if not,download_backup_weekly_limitwithnext_at, orserver_too_old)POST /v1/environments/{id}/download-backups(202 with the job; needs thebackups:writescope and database access)POST /v1/download-backups/{id}/download-link(a new link that works 15 minutes; 410 once expired; 429 once the company has used its 5 backup downloads for the week)DELETE /v1/backups/{id}?confirm=trueGETandPUT /v1/environments/{id}/backup-schedule(GETshows the hourly choice underhourly)PUT /v1/environments/{id}/backup-schedule/hourlywith{"every_hours": 1}or{"every_hours": 6}changes how often hourly backups run. It needs thebackups:writescope, answers 402 with the codehourly_backups_requiredwhile the environment has no add-on, and writes an activity log entry.POST /v1/sites/{id}/add-ons/{addon_id}/purchasewithhourly_backupsas the add-on and{"environment_id": "..."}turns hourly backups on, and.../cancelturns them off. Theenable_add_onanddisable_add_onMCP tools do the same and ask you first.
The MCP server offers the same as list_backups, create_backup (it takes retention too), restore_backup, download_backup, delete_backup, get_backup_schedule, and set_backup_schedule, which also sets how often the Hourly Backups add-on runs. restore_backup takes parts (any of code, database, and files; left out, all three), restores into staging unless you name another environment, always asks first, and takes a restore point before it replaces anything. To restore into live it also needs you to type the site name, and an API key needs the backups:restore_live scope. The MCP server has no tool for the downloadable backup of the whole environment: use the dashboard or the API.
Related
- Off-Site Backups
- Staging and preview environments
- Database access
- Jobs and progress
- Security and backups, the overview on wpwaterfall.com
Still stuck?
Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.