A deleted file can stay visible in a Backblaze backup because the source and destination buckets follow separate lifecycle rules.
Key takeaways
- Check which bucket you are viewing.
- Compare both buckets' hide and delete counts.
- Check when the file was copied.
- Record your findings before changing settings.
If you keep a backup copy of shared files in a Backblaze bucket, you may have seen this. Someone deletes a file from the main bucket, and the file still shows up in the copy. It can look like the deletion failed, or like the backup is broken. Usually neither is true. The copy follows its own rules, and those rules are separate from the rules on the original.
This post walks through two examples from Backblaze's documentation on lifecycle rules. Both involve a source bucket, which holds the original files, and a destination bucket, which holds the copy. The numbers are different in each example, and the difference is the point. Once you see how the timing works, you can check your own setup and decide what you want to happen.
I write for office managers and one-person IT staff, so the wording here is plain. Where a rule or number comes from Backblaze, I link to the page it came from.
Why a deleted file can outlive the original
A lifecycle rule is a setting on a bucket that tells Backblaze what to do with files as they age. The lifecycle rules guide describes rules that hide files after a set number of days and then delete them after a further number of days. Hiding comes first. Deletion comes later, once the second count runs out.
Each bucket applies its own rules. When you delete a file from the source bucket, that action touches the source only. A copy in the destination is a separate file with its own age, and it follows its own hide and delete schedule. The source deletion does not reach across and remove the copy.
Deletes can also take time to play out. Box's support documentation on trash makes this point about its own service: "Due to asynchronous processing, some deleted items may return to your trash if Box determines that they cannot be deleted due to a Retention or Legal Hold policy." (Box Support) Backblaze's rules are not Box's rules, and the details differ. The lesson still carries over. A delete is a request the system works through, so check what happens after it rather than assuming the file is gone the moment you click.
Timing decides whether a copy exists at all. A copy made before the source deletes the file carries the file onto the destination's clock. A copy made after that point may never include the file. So the same file can be gone from one bucket and fully visible in the other, depending on when your copy job last ran.
Comparing the two schedules side by side helps explain a missing copy. The backup job runs, the files land in the destination, and everyone assumes the copy is a mirror. A copy is really a snapshot of the file as it was when it was made, and from that point it lives on its own schedule. The two examples below show what happens when those schedules do not match.
What "hidden" means in practice
The lifecycle rules guide treats hiding as a separate step that happens before deletion. A hidden file is taken out of the normal view, but it is still on the path to being deleted. The rule sets both counts, so a hidden file sits on a schedule, not in a permanent state.
This distinction matters for staff. A person who opens a bucket and cannot see a file may assume it was removed on purpose, or that it was never there. Neither assumption is safe. The better question is which step the file is on, and how many days are left before the next one. Your bucket settings give you the counts to answer that, once you know the file's age on each side.
When a file seems to be missing, check three things in order. First, confirm which bucket you are looking at. Second, note the file's age on that side, using the day counts from the rules. Third, check whether the other bucket still has it. Those steps usually answer the question, and they take a few minutes.
Example 1: a long rule on the source, a short rule on the copy
In the first example, the source bucket has lifecycle rules that hide files after 30 days and then delete them five days later. The destination bucket has lifecycle rules that hide files after 10 days and then delete them one day later. Both sets of numbers come from Backblaze's example.
Here is what that means for one file uploaded to the source on day zero and copied to the destination right away. Assume the copy starts its count on the same day:
- Day 10: the destination hides the copy.
- Day 11: the destination deletes the copy.
- Day 30: the source hides the original.
- Five days after that: the source deletes the original.
Backblaze's example also describes a file in the source bucket that is 15 days old. At that age, the original has not yet reached its 30-day hide point, so it still sits in the normal view. The copy, though, had already passed its 10-day hide point. Anyone who looks in the destination may not see the file in the normal view, while the source still shows it.
This is the surprising direction, and it is worth saying plainly. The backup can lose a file before the original does. Nobody deleted anything in that case. The copy simply reached its hide point first.
Picture a manager who needs last month's invoice. They open the backup, search for it, and come up empty. They conclude the file was lost, and they may start wondering whether it ever made it into the backup at all. Meanwhile the original sits untouched in the source bucket. If the destination is the only place your team goes to restore a file, this gap causes real confusion, and it can lead someone to recreate a file that the original location still holds.
Example 2: a short rule on the source, a long rule on the copy
Now flip the numbers. The source bucket has lifecycle rules that hide files after 10 days and then delete them one day later. The destination bucket has lifecycle rules that hide files after 30 days and then delete them five days later. The Backblaze documentation uses this pairing as well.
In this setup, the source is the stricter side. Backblaze describes a file in the source bucket that reaches an age of 11 days. Under the source's rules, that file is hidden after 10 days and then deleted on the 11th day.
This is where the deleted file keeps showing up. If the file was replicated to the destination before the source deleted it, the copy does not follow the source. Backblaze states that the file remains visible in the destination bucket until it is 30 days old, even though the original was already deleted from the source.
On a timeline, for a file uploaded on day zero and copied right away:
- Day 10: the source hides the original.
- Day 11: the source deletes the original.
- Day 30: the destination hides the copy.
- Five days after that: the destination deletes the copy.
A person who checks the source after day 11 finds the file gone. A person who checks the destination still sees it, because the copy runs on a longer clock. This is the case most people mean when they say a deleted file still shows up. The source did what its rule said. The destination is simply on a slower clock.
Picture a staff member who checks the main bucket on day 15 and finds the file gone. Later that week, someone else opens the backup to confirm the file is there. It is, and it looks current. Nothing on screen says the original was already removed by its rule. That is why the team needs a note about this behavior, which I come back to below.
What the two examples have in common
The settings from both examples are easier to compare side by side:
| Example | Bucket | Days until hidden | Days from hiding to deletion |
|---|---|---|---|
| First | Source | 30 | five |
| First | Copy | 10 | one |
| Second | Source | 10 | one |
| Second | Copy | 30 | five |
That gives you two ways to be surprised. If the copy's rule is shorter than the original's, the copy can disappear while the original remains. If the copy's rule is longer, the copy can linger after the original is gone. Neither result means the system is broken. Both are the rules doing what they were set to do.
The useful habit is to stop asking "did the delete work?" and start asking "which bucket am I looking at, and what clock is it on?" That question gets you to the answer faster, and it keeps you from changing a setting to fix a problem that was never a bug.
Checking the rules on your own buckets
Start by writing down the rules on every bucket that holds your files. For each bucket, note how many days pass before a file is hidden, and how many more days pass before it is deleted. Do this for the original bucket and for each copy. A short list in a shared document is enough, as long as someone keeps it current. For a broader review, see backup retention settings.
Next, find out how the copy gets made. Whatever tool or job copies files into the destination has its own timing. If the copy runs weekly, a file uploaded on day zero may not be copied until several days later. Assume the copy's count starts when the copy is made, and check that against what you see. If it holds, a delay in copying shifts that bucket's timeline by the same amount.
Match files by name and upload date, not by internal identifiers. Check identifiers separately from file names and dates. For Amazon S3 specifically: "Only Amazon S3 generates version IDs, and they cannot be edited." (AWS Documentation) When comparing your buckets, record the name and date alongside what you see.
Compare the two views side by side, too. A saved list of the same folder in each bucket, taken on the same day, shows quickly which side has already hidden or deleted a file. A screenshot is enough for a small office.
Then pick one real file and run the arithmetic. Choose something that arrived a while ago. Count the days from when the original was uploaded to today, then count the days from when the copy was made. Compare each count against the two sets of numbers you wrote down. You may find one of two patterns: the copy is close to being hidden while the original is fine, or the original is already gone while the copy still looks fine. Both are worth knowing before someone needs a restore.
Illustrative example: compare the hide points
Suppose an original and its copy are both 10 days old. With a source hide point of 30 days and a destination hide point of 10 days, the copy reaches hiding first. Check the source before treating the missing copy as a lost original.
Last, keep a record of what you found. Write down the date you checked, the file name, and the day counts on each side. When someone later asks why a file is missing from one place and present in the other, that record answers the question in a few minutes instead of an afternoon. Use the backup verification checklist for your wider review.
Deciding what you want to happen
Once you know the timing, decide which bucket your team relies on. If the destination is your backup, its rules matter most, because that is where people look when something has gone missing from the main bucket. If the main bucket is the only place people go, the copy matters less day to day, but it still matters if the original is ever lost.
My recommendation is to keep the destination's rules at least as long as the source's. The first example shows the risk of a shorter copy: the backup can lose a file while the original still exists. The second example shows a longer copy, which keeps a deleted file visible for a while. That gives your team longer to find the copy, but it also means the backup can contain files already removed from the source. This is my judgment, not a rule from Backblaze, and your situation may call for something different.
Before you change any rule, write down the current numbers. Keep those numbers with your record of any gap you are investigating. If the copy is your only record of a file, be especially careful with any setting that hides or deletes it sooner than before. Tell the team that a change is coming, so nobody is surprised when a file behaves differently.
If you cannot change the destination's rules, for example because the backup tool sets them for you, the fallback is the note and the record described in this post. Know which bucket people will look at, and make sure they know what they are seeing when they look.
Give one person the job of owning these settings. Shared settings with no owner tend to drift. A short change log, with the date and reason for each change, keeps the setup understandable for whoever inherits it.
Telling your team what to expect
This is the step people skip. Staff who open the backup and see a file that was deleted from the main bucket will assume something went wrong. The simplest fix is to tell them in advance.
A short note works. Something like this: "Files deleted from the main bucket may still appear in the backup for a while. That is expected under our current settings. If you need a file restored, ask the IT contact before you re-upload anything." Adjust the wording to match your actual numbers and process.
The note should also say who to call. A staff member who sees a missing file in the backup should not re-upload it from a personal copy, because that creates another copy whose dates nobody has tracked. Send them to one contact, and let that person check both buckets before anything is restored or replaced.
Update the note whenever the rules change. A note that describes last year's settings causes as much confusion as having no note at all. Put it where people already look, such as the top of the shared folder or the page where your team finds the backup login.
Where this leaves you
Reading day counts takes no special skill. The Backblaze lifecycle rules page is the place to confirm any number here before you act on it, and it is worth rechecking whenever someone changes a bucket's settings.
Today, choose one real file and record its age and visibility in both buckets alongside their current lifecycle settings.
Related guides: Deleted file keep times: 4 tools and their limits · File deletion mistakes: 4 errors to check at removal · File link expiry rules: 5 checks before you send.
Questions about deleted backup files
Does hidden mean deleted?
No, hiding and deletion are separate steps. Check the bucket's hide point and the further count before deletion.
Should I change a rule when the buckets disagree?
Check the file's age and both schedules before changing a rule. Keep a record of the current settings so you can explain the difference to your team.