Recent Tutorials
Who is online?
In total there are 8 users online :: 0 Registered, 0 Hidden and 8 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

[TIPS & TRICKS] Creating Backups

View previous topic View next topic Go down

Guest
Guest
View all awards

PostGuest on Thu 16 Jun 2016, 13:00

Creating backups


Introduction
The importance of having backups doesn't need a whole lot of explaining. Backups are used to go back to a certain state by restoring a certain piece of code or an entire platform. Forumotion gives you the opportunity to restore from specific dates in different ways using the Founder Tools. The downside to these tools is that they're available to the founder only and allow you to go back just several weeks in time. Since most of us have other staff with admin rights digging into our CSS and JS, maintaining and pushing out new features and we don't want to be dependent of when FM creates backups, it makes common sense we create our own backups as a fall-back or resource that's instantaniously available to all the admins before we decide to go ahead and change things on our sites.

Tip 1: Make job descriptions for your admins. Who's responsible for what?
Tip 2: Create your own backup strategy. Frequency and what.
Tip 3: Create your own secured backup sections to keep your backups stored centrally. Don't backup locally.
Tip 4: Don't all work on the same change at the same time. Two people editing CSS at the same time will not work.
Tip 5: Execute your changes one by one to avoid conflicts. Never bite more than you can chew and make sure you check things after each change.
Tip 6: Don't hesitate to ask for help if you're not sure.


How often should I make backups?
As said before, FM has a schedule to make automated backups of our sites. If you're planning on changing scripts, like HTML, CSS or JS these backups may NOT include your latest changes, so before getting started changing things you should ALWAYS create a backup yourself, just in case a restore cannot be done through the tooling or in case the founder is not around to perform a restore. Personally, when I almost finished designing my site, I made backups of all my JS, CSS and HTML pages to have it fully covered. From there on I started to create new backups on each change, so I always could go back to a certain state at any given moment.


Where to place the backups?
It's a smart idea of having backups centralized at a location which has admin access only. A way of making a new section by creating a new category with forums attached. Securing the forums by giving access to certain groups only, like the admins for stuff that is ACP or script related, will keep everything away from unwanted lurkers. I've created my own Staff section with various levels of access top-level down, so admins will be able to enter the Moderators section but not vice versa.


How to create a CSS backup?
To create a CSS backup, go into your ACP, click the Display tab, then from the left menu, select 'Pictures and Colors', next 'Colors' then on the right hit the 'Cascading Style Sheet' (CSS) tab. Now select all of your CSS in the box just below and copy it.



Next, create a new topic in your newly created Backups forum. It's good practice to create a topic title that holds as much information about the backup itself to make clear to everyone what the backup resembles. Example: <date> *** CSS Backup*** or *** CSS Backup *** <date> whatever you prefer. Now, use the CODE boxes to paste your CSS within, save the lot and you're done.

Example:




How to create a JS backup?
Same way as a CSS backup, except you'll need to go into the Modules tab, find 'HTML & JAVASCRIPT', select 'Javascript Codes Management' and then find the JS you want to backup. Open the JS, copy the code and again, it's of absolute importance to use the CODE boxes in your backup topic due to the fact our sites are based on UTF-8 character encoding (so do NOT use notepad to copy your code to first and then make a backup to your topic!). Make sure to create a topic title that holds information about the PLACEMENT of your JS. Example:




How to create a HTML backup?
Practically the same way as the other backups. You'll need to go into the Modules tab, find 'HTML & JAVASCRIPT', select 'HTML Pages Management' and find the HTML page you want to backup. Open the HTML page via 'Advanced Mode' (the orange wheel that says 'HTML'), copy the code and again, it's very important for you to use the CODE boxes in your backup topic. Make sure to create a topic title that holds information about the Link URL (Title), header and footer and if it's set as a HomePage or not:




Example of a HTML backup topic:



This post is copyrighted by me and AvacWeb. Make your own and do never ever copycat someone!
TonnyKamper
Member
Title :
Just me..
Gender : Unspecified
Age : 62
Posts : 10
Points : 246
Reputation : 5
Location : The Netherlands
Language : Dutch, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.nederlandheelt.nl/ https://www.facebook.com/https://www.facebook.com/TonnyKamper https://twitter.com/https://twitter.com/TonnyKamper

PostTonnyKamper on Mon 04 Jul 2016, 11:46

Great tip @Samantha Thumb right
Why didn't I think of that myself ? I'm storing everything locally on my pc.. this is way better, it gives access to the backups from any device I'm online with..
I'm going to apply this for sure !

Thanks girl High Five Flowers

--------

~Tonny Kamper~
Guest
Guest
View all awards

PostGuest on Wed 06 Jul 2016, 16:24

@TonnyKamper wrote:Great tip @Samantha Thumb right
Why didn't I think of that myself ? I'm storing everything locally on my pc.. this is way better, it gives access to the backups from any device I'm online with..
I'm going to apply this for sure !

Thanks girl High Five Flowers

You're welcome, anytime. Rose Glad I could be of help. You're a very kind and goodhearted friend who's running a very important and supporting website, which really means a lot to me. For you You've got one of the most lovely personalities I've come accross in a long long time. You've got great resilience and a huge heart and understanding. You're very sophisticated and I love that absolutely big time! Good So, keep up the fantastic work you're doing, @TonnyKamper! I love you
TonnyKamper
Member
Title :
Just me..
Gender : Unspecified
Age : 62
Posts : 10
Points : 246
Reputation : 5
Location : The Netherlands
Language : Dutch, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.nederlandheelt.nl/ https://www.facebook.com/https://www.facebook.com/TonnyKamper https://twitter.com/https://twitter.com/TonnyKamper

PostTonnyKamper on Wed 06 Jul 2016, 18:32

Samantha wrote:
You're welcome, anytime. Rose Glad I could be of help. You're a very kind and goodhearted friend who's running a very important and supporting website, which really means a lot to me. For you You've got one of the most lovely personalities I've come accross in a long long time. You've got great resilience and a huge heart and understanding. You're very sophisticated and I love that absolutely big time! Good So, keep up the fantastic work you're doing, @TonnyKamper! I love you

Geez @Samantha thank you so much for that awesome compliment, you're making me blush For you
I don't get such lovely comments a lot, so the more it means to me !! You just made my day Party

I'd like to repay the compliment to you sweetie, you're such a loving, caring and most helpfull person yourself, doing absolutely a fabulous job on all kinds of websites and forums !! So I say the same to you girl, keep up the good work dear friend Good I love you

Hello

--------

~Tonny Kamper~
Guest
Guest
View all awards

PostGuest on Wed 06 Jul 2016, 18:44

Huh? Who's on this late in my tz?Suspect Wink

... Hug @TonnyKamper! High Five

PS: hey pls say hello to Popeye for me, will ya ? He'd better take good care of a gem like you, yk ! Wink For you
TonnyKamper
Member
Title :
Just me..
Gender : Unspecified
Age : 62
Posts : 10
Points : 246
Reputation : 5
Location : The Netherlands
Language : Dutch, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.nederlandheelt.nl/ https://www.facebook.com/https://www.facebook.com/TonnyKamper https://twitter.com/https://twitter.com/TonnyKamper

PostTonnyKamper on Wed 06 Jul 2016, 20:16

Samantha wrote:Huh? Who's on this late in my tz?Suspect Wink

... Hug @TonnyKamper! High Five

PS: hey pls say hello to Popeye for me, will ya ? He'd better take good care of a gem like you, yk ! Wink For you

Hahaha, I will do that @Samantha , but he already takes very good care of me Laughing

Sleep tight and have a peaceful night Flowers

--------

~Tonny Kamper~

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum