סנכרון יומי לסביבת INT?

שלום לכולם,

יש לנו סביבת INT וסביבת PROD וקשה כרגע לעקוב אחר כל ההבדלים.
האם אפשרי איכשהו, לשכפל את סביבת PROD (נושאים / קטגוריות / הגדרות / …) ל-INT באופן קבוע ולשמור את הדברים האינדיבידואליים של INT (שם מארח / SSL / דוא"ל / …)?

האם אני צריך לעשות זאת ידנית (לאחסן את הדברים האינדיבידואליים איפשהו / לשכפל / לדרוס את הדברים האינדיבידואליים עם פרטים ספציפיים של INT / …), או שיש כלי Discourse שאוכל להשתמש בו?

תודה רבה מראש וברכות,

JP

There is rake site_settings:import

See Restoring forum to a new server - #2 by csmu

היי חברים,

זה בעצם פשוט כמו

  • ציין את כל ההגדרות הספציפיות לשלב כמשתנים מקודדים קשיח ב-app.yaml
  • העתק גיבוי מ-prod ל-int
  • שחזר אותו
  • בנה מחדש את האפליקציה

לפחות כאן זה עובד, אבל השאלה הבאה. אז איך אני יכול לבטל את כל ההגדרות שיכולות להוביל לשליחת מייל למשתמשים, כדי שהאינסטנס לא יטריד את המשתמשים

הגדרות דוא"ל אישיות
קטגוריות שנצפו, במעקב

כרגע הגדרתי את שרת הדואר לא נכון בכוונה, אבל מתישהו כשאני ארצה לבדוק משהו עם מיילים …

יש רעיונות?

תודה וברכות,

WS

There is a disable emails site setting. I think it’s automatically activated when you restore a backup. For testing, you could enable e-mails for staff only.

לייק 1

Hey @Moin (that´s a German term for good morning, I like that :slight_smile: )

thanks for your answer. I´m aware of that option, but I´m afraid as soon as I activate it there will be a flood of mails going out.

What did you mean by

How would that be possible without reenabling the whole mail thing and don´t spam the users ?

The only thing I can imagine is to switch off the mail related user specific settings via rake console for every user.

Or

Would any of these

  • Deactivate
  • Stage
  • Suspend
  • Silence

do the trick ?

Cheers and thanks again,

WS

By choosing to disable emails for non-staff

Doh, that would be possible, yes :see_no_evil_monkey:

Thanks, I forgot completely, there is that “non-staff” option in that field :frowning:

Have a great day and thanks!

WS

האפשרות הזו מוגדרת אוטומטית כאשר אתה משחזר גיבוי, לכן אינך צריך לעשות שום דבר נוסף.

לייק 1

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.