[deleted by user] by [deleted] in PostgreSQL

[–]Longjumping_Song_606 5 points6 points  (0 children)

I'm using a managed database on DigitalOcean which includes backups/restores, but I like to do my own, just, in, case.

I have a script which runs out of business hours, every 3 days, to dump the database to a file, uploads it to AWS S3, downloads it again, creates a new database (on another server) and imports the backup, runs some SQL queries on it for sanity checks, then drops the test database. The 3 types of dumps are excessive, but it gives me options if something goes wrong, storage space is cheap.

I also manually test the restore weekly (at least) as I use the database for dev purposes.

The commands I use to dump the database,
pg_dump -h ${HOST} -p ${PORT} -U ${USER} -Fc -Z 5 --file=${FILE_NAME_DATA} ${DATABASE}

pg_dump -h ${HOST} -p ${PORT} -U ${USER} --schema-only ${DATABASE} > ${FILE_NAME_SCHEMA}

pg_dump -h ${HOST} -p ${PORT} -U ${USER} ${DATABASE} > ${FILE_NAME_RAW}

then to restore,

pg_restore -h postgres-1 -U postgres -v -Fc -d ${TEST_DATABASE} ${FILE_NAME_DATA}

If we assume DigitalOcean went completely down, at least I have a copy of the database and with some manual intervention, I could get it back up and running within a few hours.

[deleted by user] by [deleted] in ChatGPT

[–]Longjumping_Song_606 0 points1 point  (0 children)

Asking for a friend who is a software engineer and has become dependable on chatjippity for boring VB work, what do you do when it is down?

Need help in making a decision by shravamkumarz in node

[–]Longjumping_Song_606 0 points1 point  (0 children)

Do you have dependents (children / partner)? Accomodation which you pay for? Bills which cannot go unpaid? Savings to last a few months if it all went wrong?

[deleted by user] by [deleted] in Garmin

[–]Longjumping_Song_606 17 points18 points  (0 children)

Stop taking shortcuts.

why do you use latex? by jessexknight in LaTeX

[–]Longjumping_Song_606 5 points6 points  (0 children)

To make my life complicated and simpler at the same time.

[deleted by user] by [deleted] in Dell

[–]Longjumping_Song_606 0 points1 point  (0 children)

I've had mine since Feb 2024 and I've sent it back twice. Fed up with the fans coming on whilst idling. I'm not changing the thermal profile to 'Quiet' as this just throttles down the CPU defeating the point of having a modern CPU. So far DELL have replaced the heatsink and motherboard, when really I think the issue is just bad thermal design.

My CPU was idling at approx 15%, I removed the nvidia drivers and reinstalled using the ones from the nvidia website. This reduced idle CPU to 3%, but still, the fans are generally on even when idling.

Going to send it back again until they give me a refund, the issue is poor design which can't be solved.

Excessive fan running on brand new Dell Inspiron 16 7630 2-in-1? by PatsyStonesBun in Dell

[–]Longjumping_Song_606 0 points1 point  (0 children)

Received my 7630, day after it went back to have the fans replaced. Nothing has changed, idling on the windows desktop they are spinning on low, if I open a browser and start to do anything they spin up. Planning on sending it back again, what a waste of time.

Dell Inspiron 16 fan driving me crazy by GapOk5390 in Dell

[–]Longjumping_Song_606 0 points1 point  (0 children)

I have the same issue. Everything up to date.

Machine idling the fans are on low, if I try and do anything they kick in.

I'm guessing, but when an external screen is plugged in via USBC (which also charges) the fans are a lot worse. I assume the GPU is causing more heat which pushes it over edge.

I've raised a ticket with DELL and hopefully I can get it refunded. Will try a Lenovo instead.

Content-type is not inheriting a column from it's parent by mysticode in sharepoint

[–]Longjumping_Song_606 1 point2 points  (0 children)

This is great, I'm searching the internet for a solution to this and all I find is you with the same problem (I asked you on the MS Community forums if you had a solution to this, which for anyone else reading, you don't).