[{"data":1,"prerenderedAt":588},["ShallowReactive",2],{"navigation_docs":3,"-databases-manage-backups":212,"-databases-manage-backups-surround":583},[4,21,89,125,152,183,202,207],{"title":5,"collapsed":6,"path":7,"stem":8,"children":9,"page":20},"Getting Started",true,"/getting-started","1.getting-started",[10,15],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","/getting-started/introduction","1.getting-started/introduction","i-lucide-info",{"title":16,"path":17,"stem":18,"icon":19},"Service Tiers","/getting-started/service-tiers","1.getting-started/service-tiers","i-lucide-layers",false,{"title":22,"collapsed":6,"path":23,"stem":24,"children":25,"page":20},"Containers","/containers","2.containers",[26,56],{"title":27,"path":28,"stem":29,"children":30,"page":20},"Kubernetes","/containers/kubernetes","2.containers/1.kubernetes",[31,36,41,46,51],{"title":32,"path":33,"stem":34,"icon":35},"Overview","/containers/kubernetes/overview","2.containers/1.kubernetes/1.overview","i-lucide-box",{"title":37,"path":38,"stem":39,"icon":40},"Create a Cluster","/containers/kubernetes/create-cluster","2.containers/1.kubernetes/2.create-cluster","i-lucide-plus-circle",{"title":42,"path":43,"stem":44,"icon":45},"Connect to Your Cluster","/containers/kubernetes/connect-cluster","2.containers/1.kubernetes/3.connect-cluster","i-lucide-link",{"title":47,"path":48,"stem":49,"icon":50},"Node Groups","/containers/kubernetes/node-groups","2.containers/1.kubernetes/4.node-groups","i-lucide-server",{"title":52,"path":53,"stem":54,"icon":55},"Ingress & Domains","/containers/kubernetes/ingress-domains","2.containers/1.kubernetes/5.ingress-domains","i-lucide-globe",{"title":57,"path":58,"stem":59,"children":60,"page":20},"Container Registry","/containers/container-registry","2.containers/2.container-registry",[61,65,69,74,79,84],{"title":32,"path":62,"stem":63,"icon":64},"/containers/container-registry/overview","2.containers/2.container-registry/1.overview","i-lucide-package",{"title":66,"path":67,"stem":68,"icon":40},"Create a Registry","/containers/container-registry/create-registry","2.containers/2.container-registry/2.create-registry",{"title":70,"path":71,"stem":72,"icon":73},"Push Images to Registry","/containers/container-registry/push-images","2.containers/2.container-registry/3.push-images","i-lucide-upload",{"title":75,"path":76,"stem":77,"icon":78},"Pull Images from Registry","/containers/container-registry/pull-images","2.containers/2.container-registry/4.pull-images","i-lucide-download",{"title":80,"path":81,"stem":82,"icon":83},"Manage Repositories","/containers/container-registry/manage-repositories","2.containers/2.container-registry/5.manage-repositories","i-lucide-folder",{"title":85,"path":86,"stem":87,"icon":88},"Manage Access Credentials","/containers/container-registry/manage-credentials","2.containers/2.container-registry/6.manage-credentials","i-lucide-key",{"title":90,"collapsed":6,"path":91,"stem":92,"children":93,"page":20},"Compute","/compute","3.compute",[94],{"title":95,"path":96,"stem":97,"children":98,"page":20},"Virtual Machines","/compute/virtual-machines","3.compute/virtual-machines",[99,102,106,111,116,121],{"title":32,"path":100,"stem":101,"icon":50},"/compute/virtual-machines/overview","3.compute/virtual-machines/1.overview",{"title":103,"path":104,"stem":105,"icon":40},"Launch an Instance","/compute/virtual-machines/launch-instance","3.compute/virtual-machines/2.launch-instance",{"title":107,"path":108,"stem":109,"icon":110},"Connect with SSH","/compute/virtual-machines/connect-with-ssh","3.compute/virtual-machines/3.connect-with-ssh","i-lucide-terminal",{"title":112,"path":113,"stem":114,"icon":115},"Manage Snapshots","/compute/virtual-machines/manage-snapshots","3.compute/virtual-machines/4.manage-snapshots","i-lucide-camera",{"title":117,"path":118,"stem":119,"icon":120},"Manage Backups","/compute/virtual-machines/manage-backups","3.compute/virtual-machines/5.manage-backups","i-lucide-shield-check",{"title":122,"path":123,"stem":124,"icon":88},"Manage SSH Keys","/compute/virtual-machines/manage-ssh-keys","3.compute/virtual-machines/6.manage-ssh-keys",{"title":126,"collapsed":6,"path":127,"stem":128,"children":129,"page":20},"Databases","/databases","4.databases",[130,134,138,143,147],{"title":32,"path":131,"stem":132,"icon":133},"/databases/overview","4.databases/1.overview","i-lucide-database",{"title":135,"path":136,"stem":137,"icon":40},"Create a Database","/databases/create-database","4.databases/2.create-database",{"title":139,"path":140,"stem":141,"icon":142},"Connect to a Database","/databases/connect-database","4.databases/3.connect-database","i-lucide-plug",{"title":117,"path":144,"stem":145,"icon":146},"/databases/manage-backups","4.databases/4.manage-backups","i-lucide-history",{"title":148,"path":149,"stem":150,"icon":151},"Manage Database","/databases/manage-database","4.databases/5.manage-database","i-lucide-settings",{"title":153,"collapsed":6,"path":154,"stem":155,"children":156,"page":20},"Storage","/storage","5.storage",[157,161,166,170,174,178],{"title":32,"path":158,"stem":159,"icon":160},"/storage/overview","5.storage/1.overview","i-lucide-hard-drive",{"title":162,"path":163,"stem":164,"icon":165},"Create a Bucket","/storage/create-bucket","5.storage/2.create-bucket","i-lucide-folder-plus",{"title":167,"path":168,"stem":169,"icon":73},"Upload & Manage Objects","/storage/manage-objects","5.storage/3.manage-objects",{"title":171,"path":172,"stem":173,"icon":88},"Access Keys","/storage/access-keys","5.storage/4.access-keys",{"title":175,"path":176,"stem":177,"icon":110},"S3 API Usage","/storage/s3-api-usage","5.storage/5.s3-api-usage",{"title":179,"path":180,"stem":181,"icon":182},"Usage & Billing","/storage/usage","5.storage/6.usage","i-lucide-bar-chart",{"title":184,"collapsed":6,"path":185,"stem":186,"children":187,"page":20},"Account","/account","6.account",[188,192,197],{"title":189,"path":190,"stem":191,"icon":88},"API Keys","/account/api-keys","6.account/api-keys",{"title":193,"path":194,"stem":195,"icon":196},"Billing","/account/billing","6.account/billing","i-lucide-credit-card",{"title":198,"path":199,"stem":200,"icon":201},"Limits & Quotas","/account/limits-quotas","6.account/limits-quotas","i-lucide-gauge",{"title":203,"path":204,"stem":205,"icon":206},"FAQ","/faq","faq","i-lucide-help-circle",{"title":208,"path":209,"stem":210,"icon":211},"Support","/support","support","i-lucide-life-buoy",{"id":213,"title":117,"body":214,"description":576,"extension":577,"links":578,"meta":579,"navigation":580,"path":144,"seo":581,"stem":145,"__hash__":582},"docs/4.databases/4.manage-backups.md",{"type":215,"value":216,"toc":562},"minimark",[217,221,225,230,233,259,263,282,285,363,367,370,384,391,395,402,407,426,465,468,473,477,521,525,545,549],[218,219,117],"h1",{"id":220},"manage-backups",[222,223,224],"p",{},"Managed Databases with automated backups enabled provide continuous WAL archiving and periodic full backups, enabling point-in-time recovery to any second within the retention window.",[226,227,229],"h2",{"id":228},"backup-overview","Backup Overview",[222,231,232],{},"When automated backups are enabled on a database:",[234,235,236,244,250,256],"ul",{},[237,238,239,243],"li",{},[240,241,242],"strong",{},"Full backups"," are taken periodically",[237,245,246,249],{},[240,247,248],{},"WAL (Write-Ahead Log) archiving"," captures every transaction continuously",[237,251,252,255],{},[240,253,254],{},"Default retention"," is 7 days",[237,257,258],{},"Backups are stored in a separate region for durability",[226,260,262],{"id":261},"viewing-backups","Viewing Backups",[264,265,266,272,279],"ol",{},[237,267,268,269,271],{},"Navigate to ",[240,270,126],{}," in the sidebar",[237,273,274,275,278],{},"Click the ",[240,276,277],{},"Backups"," tab",[237,280,281],{},"Expand a database card to see its backup history",[222,283,284],{},"Each backup entry shows:",[286,287,288,301],"table",{},[289,290,291],"thead",{},[292,293,294,298],"tr",{},[295,296,297],"th",{},"Column",[295,299,300],{},"Description",[302,303,304,315,333,343,353],"tbody",{},[292,305,306,312],{},[307,308,309],"td",{},[240,310,311],{},"Label",[307,313,314],{},"Backup identifier",[292,316,317,322],{},[307,318,319],{},[240,320,321],{},"Type",[307,323,324,328,329,332],{},[325,326,327],"code",{},"FULL"," (complete backup) or ",[325,330,331],{},"WAL"," (incremental log segment)",[292,334,335,340],{},[307,336,337],{},[240,338,339],{},"Taken",[307,341,342],{},"When the backup was created (relative time)",[292,344,345,350],{},[307,346,347],{},[240,348,349],{},"Size",[307,351,352],{},"Backup file size",[292,354,355,360],{},[307,356,357],{},[240,358,359],{},"Duration",[307,361,362],{},"How long the backup took to complete",[226,364,366],{"id":365},"recovery-window","Recovery Window",[222,368,369],{},"Each database with backups displays a recovery window:",[234,371,372,378],{},[237,373,374,377],{},[240,375,376],{},"Oldest recovery point"," — earliest timestamp you can restore to",[237,379,380,383],{},[240,381,382],{},"Latest recovery point"," — most recent recoverable timestamp (near real-time)",[222,385,386,387,390],{},"You can restore to ",[240,388,389],{},"any point in time"," between these two bounds.",[226,392,394],{"id":393},"restoring-a-database","Restoring a Database",[222,396,397,398,401],{},"Point-in-time restore creates a ",[240,399,400],{},"new database"," from an existing database's backup. The source database is not modified.",[403,404,406],"h3",{"id":405},"restore-steps","Restore Steps",[264,408,409,413,419],{},[237,410,268,411,271],{},[240,412,126],{},[237,414,415,416],{},"Click ",[240,417,418],{},"Create Database",[237,420,421,422,425],{},"Select ",[240,423,424],{},"Restore from Backup"," mode",[264,427,429,436,458,461],{"start":428},4,[237,430,431,432,435],{},"Choose the ",[240,433,434],{},"Source Database"," from the dropdown (only databases with backups are listed)",[237,437,438,439,442,443],{},"Select the ",[240,440,441],{},"Restore Point",":\n",[234,444,445,448,451],{},[237,446,447],{},"Default: latest recoverable time",[237,449,450],{},"Custom: pick any date/time within the recovery window",[237,452,453,454,457],{},"Use ",[240,455,456],{},"Reset to Latest"," to snap back to the most recent point",[237,459,460],{},"Configure the new database name and settings",[237,462,415,463],{},[240,464,418],{},[222,466,467],{},"The restored database provisions as a new cluster with data recovered up to your chosen point in time.",[469,470,472],"alert",{"type":471},"warning","Restore creates a new database with new connection details. Update your application configuration to point to the new instance after verifying the restore.",[226,474,476],{"id":475},"backup-status-indicators","Backup Status Indicators",[286,478,479,489],{},[289,480,481],{},[292,482,483,486],{},[295,484,485],{},"Status",[295,487,488],{},"Meaning",[302,490,491,501,511],{},[292,492,493,498],{},[307,494,495],{},[240,496,497],{},"ok",[307,499,500],{},"Backups running normally",[292,502,503,508],{},[307,504,505],{},[240,506,507],{},"WAL archiving active",[307,509,510],{},"Continuous log shipping is working",[292,512,513,518],{},[307,514,515],{},[240,516,517],{},"Alert",[307,519,520],{},"An issue with the backup pipeline — check the status message",[226,522,524],{"id":523},"best-practices","Best Practices",[234,526,527,533,539],{},[237,528,529,532],{},[240,530,531],{},"Enable backups on all production databases"," — the 7-day retention window provides a safety net against accidental data loss",[237,534,535,538],{},[240,536,537],{},"Test restores periodically"," — verify that your recovery process works before you need it in an emergency",[237,540,541,544],{},[240,542,543],{},"Note the recovery window"," — if the oldest recovery point is less than 7 days ago, the database was recently created or backups were recently enabled",[226,546,548],{"id":547},"next-steps","Next Steps",[234,550,551,557],{},[237,552,553,556],{},[554,555,148],"a",{"href":149}," — monitor status and cluster nodes",[237,558,559,561],{},[554,560,135],{"href":136}," — launch a new database",{"title":563,"searchDepth":564,"depth":564,"links":565},"",2,[566,567,568,569,573,574,575],{"id":228,"depth":564,"text":229},{"id":261,"depth":564,"text":262},{"id":365,"depth":564,"text":366},{"id":393,"depth":564,"text":394,"children":570},[571],{"id":405,"depth":572,"text":406},3,{"id":475,"depth":564,"text":476},{"id":523,"depth":564,"text":524},{"id":547,"depth":564,"text":548},"View backups and restore your managed database to a point in time","md",null,{},{"icon":146},{"title":117,"description":576},"2Jy3V8HZklEcoGT2uycCOGtHBhHz4Zwelop-DCnXWuA",[584,586],{"title":139,"path":140,"stem":141,"description":585,"icon":142,"children":-1},"Connect to your managed database using standard clients",{"title":148,"path":149,"stem":150,"description":587,"icon":151,"children":-1},"Monitor and manage your database cluster",1778274379499]