News for hackers. Stuff that matters.
Re:I took all my projects off the cloud, saving thousands of... by rtpg on Tuesday November 04, 2025 @07:29PM (#45817605)
Figuring out how to do db backups _can_ also be fairly time consuming.

There's a question of whether you want to spend time learning AWS or spend time learning your DB's hand-rolled backup options (on top of the question of whether learning AWS's thing even absolves you of understanding your DB's internals anyways!)

I do think there's value in "just" doing a thing instead of relying on the wrapper. Whether that's easier or not is super context and experience dependent, though.

Re:I took all my projects off the cloud, saving thousands of... by anotherevan on Tuesday November 04, 2025 @08:08PM (#45817855)
Hmmm, I think you have to figure out how to do your database backups anyway as trying to get a restorable backup out of RDS to use on another provider seems to be a difficult task.

Backups that are stored with the same provider are good, providing the provider is reliable as a whole.

(Currently going through the disaster recovery exercise of, "What if AWS decided they didn't like us and nuked our account from orbit.")

Re:I took all my projects off the cloud, saving thousands of... by bdangubic on Tuesday November 04, 2025 @09:01PM (#45818178)
aws would never do that :) plus you can also do it in aws with like 75 clicks around UI which makes no sense even when you are tripping on acid
Re:I took all my projects off the cloud, saving thousands of... by happymellon on Wednesday November 05, 2025 @02:37AM (#45820384)
> 75 clicks

Well 2 commands...

  aws rds export-task create \
    --source-arn <SnapshotArn> \
    --s3-bucket-name <Bucket> \
    --iam-role-arn <Role>

Then copy it down

  aws s3 cp \
    <S3 Location> \
    <Local Dir> --recursive
The biggest effort would be then running the Apache Parquet to CSV tool on it.
Re:I took all my projects off the cloud, saving thousands of... by darkwater on Wednesday November 05, 2025 @07:04AM (#45821959)
Plus the s3 bucket creation and definition commands, and the IAM role and attached policy commands. If you do all in the webUI it's not going to be 75 clicks either but 30 for sure.
Re:I took all my projects off the cloud, saving thousands of... by happymellon on Wednesday November 05, 2025 @08:49AM (#45822790)
It could easily be 30 clicks.

But creating an S3 bucket, an IAM role and attaching policies isn't 30 commands.

Re:I took all my projects off the cloud, saving thousands of... by prmoustache on Wednesday November 05, 2025 @07:12AM (#45822015)
Those buckets and IAM policies and roles also have to be managed.

There are also turnkeys solutions that allow one to spin up a DB, setup replication and backups inside or outside of big cñoud vendors. That is the point of db kubernetes operators for instance.

Re:I took all my projects off the cloud, saving thousands of... by Dylan16807 on Tuesday November 04, 2025 @07:57PM (#45817808)
> Figuring out how to do db backups _can_ also be fairly time consuming.

apt install automysqlbackup autopostgresqlbackup

Though if you have proper filesystem snapshots then they should always see your database as consistent, right? So you can even skip database tools and just learn to make and download snapshots.

Re:I took all my projects off the cloud, saving thousands of... by ngc248 on Wednesday November 05, 2025 @12:35AM (#45819578)
nah filesystem snapshots may not lead to consistent DB backups. DB backup software usually use a plugin to tell the DB to coalesce data before taking a snapshot.
Re:I took all my projects off the cloud, saving thousands of... by enronmusk on Wednesday November 05, 2025 @03:44AM (#45820814)
> filesystem snapshots may not lead to consistent DB backups

Only if your database files are split across multiple file systems, which is atypical.

Re:I took all my projects off the cloud, saving thousands of... by Dylan16807 on Wednesday November 05, 2025 @03:08AM (#45820584)
Databases have to be ready for power loss, don't they? They might not be happy about it, but if that corrupts anything then the design has failed.

And again I'll emphasize proper snapshot, cutting off writes at an exact point in time. A normal file copy cannot safely back up an active database.

Re:I took all my projects off the cloud, saving thousands of... by baq on Wednesday November 05, 2025 @02:07AM (#45820179)
At least one OS you’ve heard of can quiesce the file system to allow taking a consistent snapshot; I’d be surprised if this wasn’t widely available everywhere.
Re:I took all my projects off the cloud, saving thousands of... by bdangubic on Tuesday November 04, 2025 @09:00PM (#45818168)
most definitely do not want to spend time learning aws… would rather learn about typewriter maintenance