Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

314
Views
How to restore redshift data not present in a previous snapshot?

Currently we have automated manual backup of redshift data every 1 hour. Assuming a cluster goes down and the data restored from a snapshot, I also want to restore the data not present in the snapshot.

P.S: complete data is present in s3 before we move to redshift.

How can I approach this problem? So that I get remaining data from my s3 to redshift after snapshot restore.

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You would need to have some indicator in both Redshift and S3 so that you know which data is loaded.

For example, if your data on S3 is partitioned by Year, Month, Day and Hour like so:

s3://my_bucket/my_prefix/year=2017/month=3/day=11/hour=10/my_file_parts.pt001.gz

Then you want to have Year, Month, Day and Hour columns in you Redshift tables so you can find the max partition that was loaded.

SELECT  MAX(year||month||day||hour) FROM my_table

You can then reload any partitions not currently present in Redshift.

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!