 Hi guys, welcome back to Daniel's Tech World on YouTube Medium and at DanielRosehill.tech. So what I want to do in this quick video is to, again, on the favorite topic of the channel of all time of backups, the exciting topic of backups, I want to talk about how the system I've been using for a few years now to back up my writing. So as a writer, I do a lot of writing, mostly for clients. I do a little bit of stuff myself as well, do some various websites to keep active, you could say, and show the world I exist. And it's really, really important to back up all this, to back up everything. I mean, I've written and covered articles about how to back up everything from SAS, which is something people never think about backing up, to your web hosting infrastructure, to your local computer, to your network servers. I've covered it all in so far in this YouTube channel. But don't forget to pay particular attention if you're a writer to backing up your writing. So here's my system. Now I have this WordPress multi site at DanielRosehill.co.il. This is all that looks at the time of writing. It may have changed by the time you watch this video. But here is one of the child sites, one of the micro sites. It's basically this really, really bare-bones archive of all the stuff I've written. And you can see my latest piece is something about Linux in the Linux OS, and I'll show you how it works. So this is the link. You click on the link, and the person will, oh, I need to change that description. The person will get to my article. And you can see under, there's another field here called where it's being published in the Linux OS, in MicroBizmag. This one is missing one. Sorry, it's not. Encode people, medium, et cetera. Now I also have a blog, and it is at this website. Now what it does essentially is everything I publish goes to one of these two destinations, and that's actually my backup methodology. I'm going to explain in a second. This is for, I'm trying not to post medium things anymore. I think it's a bit probably amateurish, Times of Israel. Stuff that's more serious publications or stuff I've placed, I will be putting up here. And then things that I have not published elsewhere, that are just kind of my more casual day-to-day sort of blogging about technology Linux, I publish on this blog. And just if you are republishing slash syndicating stuff, make sure to put in the canonical URL to indicate to Google that the repost is a secondary replication of the original post. So one of the two, and as I said, this is actually done for the purpose of backup. This is, occasionally I will send this link to people, really it's for my own purposes. But if I zoom in a bit, you will see that in addition to the link and the publication, there is original link and local backup. Now if we click on local backup for this piece, Efficient Three Pool Data Backup Strategy you need to know about, you can see that it will open a PDF. And if you pay attention to what's in the omnibox in Chrome, you can see that it's just a PDF that I have uploaded to that post on WordPress. So how did I make the system work? Firstly, I took a WordPress theme called The Chosen, and I created a child theme. So anytime you're customizing themes, you want to build out a child theme. It's not as hard as it may sound if that sounds scary to you. You just copy the theme folder and you change the CSS, just note in the description it's a child theme so that you know when you're applying the theme in your child site that that's what you're doing. And then when you make, there's a couple more things to do, but that's the quick run through of it. And then when you make changes to files like this file, postbyline.php, the theme can upgrade. You can upgrade so that you can see I'm not getting a notification, I'm running the latest version of the theme, but your edits, the edits you've hard-coded into the PHP will not be overwritten when the theme maintainer updates that theme. So basically if you're customizing your themes and you're not just doing it in the CSS editor and WordPress, you need to do this. So I've gone ahead and I've changed, I've added where you can see it says, here we go, original URL and that's calling PHP, the field, original URL. You see here the hyperlink, the hyperlink in here at the closing bracket here. And then I have another one here. The local copy is here and that actually links off to the backup and published in is another field. So we've actually got three custom fields. Now to create these, I use this plugin called Advanced Custom Fields. It's a really popular plugin. It has more than one million installations. It's regularly updated three weeks ago when I'm recording this video and it runs on PHP 5 or higher. So this is, there's a few custom field plugins that allow you to create these custom fields. This is I think about the nicest one, very, very well used, very well supported. People call it ACF, that's the abbreviation. So that's how, that's what these are. They're calling custom fields that I've created in ACF. So how did I do that? You go into custom fields, I have a field group called byline writing and that's my custom field group just for this. I wouldn't call it portfolio piece, I'd call it more archive and you can see I've created one for the original URL and that's, that's this. So I've replaced in the archive field, I've replaced the PHP, the calls for the posts and I've replaced that with original URL and what I do is when I publish stuff, I copy and paste the URL there. Then there's local copy, that's a file. So it's beautiful, I can actually just upload the PDF. I have local copy updated and there's local copy too and just local copy because I actually originally had this archive in DSR ghost writing and then I migrated it over so in the process of migrating I created a new field and you can see here publication title, that's a text field. So that's basically how it works. Now my point is this, this allows me to have an archive and because all the PDFs instead of storing them in my Google Drive or my computer, they're back, they're actually stored in DanielRosal.co.il on my website. All I need to do is periodically back up my website and by backing up my website, I capture all the copies of my articles. Now these are just kind of PDFs. Look, it's ugly, I didn't get the advertising, it's mostly for my own use. I pay more attention to the ones that are kind of my best, let's say, showcase work. So that's kind of sloppy, but by all means do them professionally. There's rolling screenshot tools that allow you to do a very nice job and use one of those and do a lovely job and I'll show you how it works. So let's just take, let me claim, let me not claim an article of my own. Let's actually find the last article I wrote and it might be double posting this. How much do freelancers charge for writing? So again, I don't back up my blogs on DSR Ghostwriting because I back up DSR Ghostwriting and my analyst-to-do list today, I have an interesting, I need to fix that broken image. This is just a new build. So how much do freelancers charge for writing? So basically let's say I wanted to put this into that, so what I would do is go into byline writing, new post, and just, whoops, that's not what I wanted. Put the title and it's an uppercut, I'm just going to quickly do this. How much do freelancers charge for writing? And then I would do my PDF copy to print out that screen as a PDF. For the purposes of doing this one quickly, I'm just using the usual approach, but if you don't know it, you can actually just go into print and change the destination to save as PDF in Google Chrome. Now once I've set up these custom fields and advanced custom fields, I get these lovely custom fields here. So you can see my original URL field is there. My local copy and my published title, and I'm using this one now, updated. So what I will do is just come over and put this here as original URL. And all you have to do then is upload the PDF that I've just grabbed as my local copy. So I'm just uploading that PDF. Now it'll take a couple more seconds to upload into WordPress. And that's basically it. I have another field here called publication title, which I'll call DSR Ghost Writing Blog. And I'm going to go ahead and delete this after I publish this. Categories, this sorts it according to the categories at the top of the website. So I'm going to call this business freelancing. And that's basically it. I don't use this. It's not, again, it's a reference archive. So I don't put this. I don't bother creating meta tags. I think it's actually blocked even in robots.txt. So that's really all I do. I click on the publish button. And if we refresh this page in just a second, we can see I will have a new post at the top here called How Much Do Freelancers Charge? Click on the link. It's pulling from. I also set this to open in a new tab. And it goes directly to the custom field we configured as original URL. And if I click on local backup, the PDF that I uploaded is backed up. And now when I run my daily backup of DanielRosehill.co.il, it will pull in this PDF. And therefore it'll be nicely backed up. So this is it, guys. This is my current system. I worry about a few things more than losing the writing that I poured so much effort into. And of course, you can just store it on your computer backup that way. But I like this methodology because I like to keep things online. And it allows me to have this little website that I can just. I mean, it's totally manual. It's actually, there's actually six, seven, I think 700 or so. You can see it goes back to when I was in college. And the only thing that I regret about this is that there's probably a few hundred articles not here. They may not be the best things I've ever written, but they're part of my journey, let's say, in evolution as a writer. And it's a pity that this is a partial selection because PDFs do not weigh that much of just writing jobs. And it's nice to be able to go through an archive. I need to update some of these. But all the more recent stuff is there. And from about probably a year or two ago going forward, I have been diligent about doing this. So I can go through old pieces. And even the ones that I don't have, they haven't updated the fields yet. The PDF is there. We just need to go back into the WordPress backend and swap out the updated links. So that's it. That's my methodology. Not saying it's the best one, but it is a system for backing up your writing onto WordPress. Just to reiterate, you need to firstly install advanced custom fields. Go in, create a few custom fields. Edit your theme. And then my implementation has been changing the default permalinks with the publication title, et cetera, as I've done here. And that allows me to have this archive, which I can search through. That's typically what I use it for, actually. I just literally do not even a search. There's not even a search bar here. It's just, again, it's from my own reference. I'll just say Ubuntu. And I can quickly leave through four articles that I've written mentioning Ubuntu. And if I wanted to send them to, I don't know, someone who wanted to see and ask me whatever you're going to write Ubuntu, I'd say, here you go. One, two, three, four. And like that, I've called up all from the original websites, this one from Linux int, medium, something that obviously needs to be updated, and the linuxos.com. So yeah, the old stuff is a little bit patchy in terms of how well it's running on the front end, but on the back end, all the data should still be there. So that's it, guys. That's my thing. Anyone who wants to get in contact can always reach out to me through danielrosil.co.il. And thank you for watching.