Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Client Site Pages and Media Accidentally Wiped

default discord avatar
zed0547last year
22

Hey

@751564764244869282



Yep, that would do it. I can't possibly recommend exposing a seed function in production.

  • default discord avatar
    mrmonroelast year
    https://www.revive.md/

    pages and media are gone



    i think we'll just bring back the back up

  • default discord avatar
    zed0547last year

    If anything, you would only call a seed script either in the pipeline behind a flag, or once initially during deployment



    I would remove the seed function from being accessible though



    The only other thing that comes to mind that could do this, is if you enabled versions/drafts on these collections and then deployed



    But in that case, the data should still be in your db

  • default discord avatar
    mrmonroelast year

    any possible hidden back up spots

  • default discord avatar
    zed0547last year

    What do you mean?



    Payload, by itself, wouldn't wipe the db and images. Something external must've done it. Maybe someone on the team connected from local machine and changed some schemas? It makes the most sense that someone just accidentally hit the seed endpoint in which case you could probably see logs wherever you store them

  • default discord avatar
    mrmonroelast year

    thanks

  • default discord avatar
    zed0547last year

    My pleasure, good luck!

  • default discord avatar
    mrmonroelast year

    to get our images back -

    https://revive-cms-f1ac9cb.payloadcms.app/media/PatientFi_NewLogo.jpg

    do you have an ideas



    our back up doesn't have the actual media





    hold on a second



    are images gone forever



    media gone forever



    if the seed run is ran

    @654031862146007055
  • default discord avatar
    zed0547last year

    Double check your storage adapter bucket itself, is your media there potentially?

  • default discord avatar
    mrmonroelast year

    they seem gone - but react/next.js cache seems to be working so we're manually downloading everhything



    https://www.revive.md/



    is there a way to ftp in to the media directory



    to put them manually back up



    or some way to get back up there

    @654031862146007055
  • default discord avatar
    zed0547last year

    Where are you hosting? VPS? Should be able to just ssh

  • default discord avatar
    mrmonroelast year

    payload cloud

  • default discord avatar
    zed0547last year

    Ahh, not sure there tbh

  • default discord avatar
    mrmonroelast year

    so we have download all assets



    any way to push to media directory or media panel



    @654031862146007055

    does payload have back ups from the cloud sites?



    can i pay extra one to get a back up back



    we hav ea manual back up from a few months ago

  • default discord avatar
    zed0547last year

    No idea honestly, I think there

    are

    on-demand backups, but I'm not sure if they are for db's only or if they extend to file storage/instance backup



    That's a question for the payload devs I think

  • default discord avatar
    mrmonroelast year

    where can i ask?



    i'm willing to pay good money

  • default discord avatar
    zed0547last year
    support@payloadcms.com

    Email them with your project-id and relevant info about the situation

  • default discord avatar
    mrmonroelast year

    thank you



    @654031862146007055

    what's the usual turn around time on support emails so i can le tme team know? 24 hours or less?

  • default discord avatar
    zed0547last year

    I was told 24 - 48 hrs

  • default discord avatar
    mrmonroelast year
    @364562745447940099

    i know you're offline but i'm kind of in a pinch with a client -- sent an email to support but can't wait 48 hours -- i just need to know if our payload has a backup from anytime this week and if we can recover it easily...especially the pages and media. if not, we'll have to manually recover everything that wasn't in our last manual back up from 2 months ago. thank you so much for your help. happy to pay for the time.



    i really don't want to ping

    @969226489549713438

    but haven't heard from support -- huge fans of payload, want to continue using it on client projects, but need some help here asap -- all i need is just a simple yes or no. does our client's $35/m plan have a back up from this week before they accidently errased all their pages and media? if so, can someone help us spin it up real quick? thank you 🙏

  • discord user avatar
    dribbens
    last year

    Yes. Did you email? We just need some info about the project and when to restore

  • default discord avatar
    mrmonroelast year

    amazing - thank you - yes, emailed support@payload.com - Urgent: Backup of site was subject - my email was levi@useallfive.com

  • default discord avatar
    zed0547last year

    Thank you

    very much

    for your attention, time, and help here Dan

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.