 Hi guys, welcome back to DanielRosal.Tech on medium YouTube and ass. DanielRosal.Tech, I meant to say welcome back to Daniel's Tech World. This is that, this was a mistake. But in any event welcome back to my YouTube channel. So I want to show in today's video I'm demonstrating a process for backing up YouTube. Now I'm not the first person to do a video about this so I do want to make it sort of unique and provide, I don't know what the tech jargon I'm looking for is, provide independent value. There's a few videos about how to do this but what I want to, it's going to be a little bit longer than these videos because I'm going to show a way to try make, to try do this efficiently. Now firstly you might be asking why do I need to back up YouTube? Isn't everything YouTube does? Secure blah blah blah. So firstly there's, if you're interested in backups there's an interesting podcast called Restore It All and they have a good episode on why you need to back up stuff in the cloud. Basically you have this thing called the 321 backup rule that you're looking at right now, my diagram on it and essentially you want to be backing up. Typically when people do backup they're thinking about their computer and you want to back that up to one onsite backup point. Two backup copies in fact. One of those is offsite and as I wrote here ABC should ideally all be on separate drives and physical machines so in other words you don't want to have a backup of your hard drive on your hard drive because even though you can do that with a lot of programs because then if your hard drive fails you're out of a backup and likewise we do this client backup because if your house catches fire or is flooded or everything's robbed even if they're, even if these are both encrypted they're your, if you just had these two you'd be SOL so you need to have an offsite backup as well basically. Now for YouTube basically people think that this is only talking about local backups. In fact big companies will backup all their cloud data and do this according to at least 321 or better. To answer the question of why you know basically you're, you could accidentally delete stuff on YouTube, Google could vanish off the face of the earth. Now I admit that it's not that likely that these things are going to happen but it's still prudent to keep your own backups. So what I'm showing here is how to, I'm going to show how to back up YouTube videos on to, on to the, on to a NAS and onto the cloud in a way that I think makes sense and basically the problem with, firstly there's a couple of caveats. Number one, when you, and I've just set up a new YouTube account here so I'm just going to grab a video out of my other monitor. I have my actual YouTube account. Let me just pick one. Alright I found one that is not ridiculous or embarrassing. I'm just going to drag this in and I'm going to upload this onto this test YouTube channel over here. Something about measuring the power. I think I was just playing around with a new, this is our Kool-Aid with a new Watt measurement device and I put that up. This is, this is an unlisted video so it's not on this or not on Dan's Tech World, Daniel's Tech World or another account. So I'm just going to upload this and so I'm just going to have one video to do in the takeout because that's going to make it a lot quicker and easier to explain. So I'm just going to put this up onto YouTube and while that is going on in process I would explain further. So basically this isn't really, you know all the YouTube backup videos are saying this is backing up YouTube. This is backing up the videos when they're on YouTube so you're not going to guess by backing up this way you're not going to get the videos in the full uncompressed format they went up so if you're a heavyweight content producer and you're you know high definition video basically in that case if you're really really this is the last resort type of backup that I still think it's a good idea to take but if you are making a living from YouTube you know your livelihood depends upon it's really critical you should be backing up the original pre-production video files. This is both backing them up at the quality that YouTube is going to spit them out and you're going to be getting them without you know post production without you so you're not going to be able to roll back all the edits you made from obviously the edited version that this takes out from you so that's just something to keep in mind if you're just a lightweight relatively lightweight YouTube YouTube user like me I'm just currently backing up what Google takeouts gives me. So basically let me let me just quickly explain now I'm doing it I'm recommending a certain approach for a reason when I just ran this Google takeout it gave me a 30 gigabyte archive now I have a upload connection that's about two megabytes per second I know that's terrible so trying to upload but that's literally what's available in my area attempting to upload a 30 gigabyte archive over a two megabyte upload speed it's going to take one hour one hour one day and almost 12 hours so that's almost 36 hours that's painfully slow even though I'm doing it over the NAS so it's not really something I see you don't want to be doing that each time basically in backups you have things called just to give a tiny bit more theory about this this is basically if you're uploading the archive every single time you're doing a full backup now full backups means you're just you're just uploading the full thing if you think about it if you have a hundred videos and you upload just the zip archive the tar dot cheesy the Google takeout gives you and then you do that again and you just delete the first one that is a way of backing things up but and let's say you added 20 videos between the two times you ran the backup you basically re-uploaded 80% of that data which could be 50 gigabytes could be 100 gigabytes for no reason and you just I mean probably in this day and era people don't tend to have uploads charges but nevertheless it's grossly inefficient and if you're using cloud object storage or potentially being billed for moving the data in each time so it's not very smart so that's why you know in backup world and I've talked a lot about desktop backups on this channel you have stuff called differential backups differential backups means you run a full backup and then every backup is against the full so each the next backups are what's changed since the original full backup incremental backup you run the full backup and then each backup is a slice against the last incremental so it's more efficient again I don't know of a way using G and using Google takeouts I don't it's because it's not it's not really a dedicated backup tool it's a it's kind of a data export mechanism intended more for once-off exports there's no way that I'm aware of currently to just pull out the change like a differential or incremental therefore to try be to try work with what we have at our disposal I'm demonstrating today this methodology okay so it starts as Google takeout by downloading your full Google takeout of your of your YouTube videos download those to your desktop now I'm missing an arrow here so let me just put in the missing arrow then put those onto your desktop now if you're doing backups then you might have a NAS at your disposal if you do not have an NAS and this is the DS this is an example of the one that I just tried out for Synology the DS920 plus if you don't have an NAS then you can just keep backups folder on your computer or on an external hard drive for example that would work fine you want to first you want to do the Google takeout and then you just want to do a copy and paste to some folder that's synced with the cloud and basically you know when you're and I'm using Linux on this computer so I know Windows is a bit different but I know I know that there is the same kind of functionality when you do copy and paste and it says if I find the same files what should I do and because each file in a the YouTube file these bit out are just the video title dot mp4 because of that I would basically just just do a skip if it exists you can skip it and that means that you'll only be adding the new videos now there's another super important thing before I forget when you're running a Google takeout if your YouTube channel is a brand account the Google takeout you need to go in and change to your brand account so let me just go ahead and do that actually while that is running I'm going to be putting in a another video up here so this is another short video just to have to in the back up this won't take very long I have to do this it's a new channel now this is really really inconvenient but it's the way things currently are with Google so if I go to Google takeout I do not have any brand accounts on this demo account the email is visible here Daniel Rosel demo but this when you click on this icon this is what you're taking an account for now if you have a few brand accounts you need to go into the brand account and then run the takeout if you do not do that I've just done a Google takeout and it only includes videos I've uploaded to my personal account it does not include any of the Daniels Tech World videos on Daniel on the Daniel Rosel brand account because that's a brand account so it keeps them separate so the only way that I currently know of to back up all your videos if you have multiple brand accounts it's to go through the take care process one by one I think that sucks it's inefficient it's stupid but that's currently what Google has there is no functionality that I'm aware of and that I from what I can see that actually anybody's aware of that says like back up everything on Google back back up me back up my brand accounts unfortunately so I'm just going to put those up and as you can see the upload speed is really sucky today so they're going to take a little bit of time but let me go ahead and show you what to do next so I've gone ahead and logged into my NAS now as I said if you don't have an NAS then you can just create a folder on your local machine on your Windows computer or on your Linux computer and you can create a sync I don't know how to do the windows as I said before in this video I use Linux so you can use a program called R clone it's a command line interface or something you run in the terminal and this can be used to sync a local folder with something in the cloud but just using this so I build myself a shared volume called Google takeouts I'm going to create a folder in it called YouTube and remember what I said about brand accounts so I'm going to call this one well this is a demo so I'm just going to call this demo and I'm just going to call this then I'm going to create one for Daniel Rosell brand account I don't know why it doesn't like my surname and I'm going to create one called Daniel Rosehill personal video so my brand accounts are going to go in here my personal videos here I've then gone ahead in cloud sync in Synology and I've created a sync bi-directional sync but you could just do one way from Google takeouts up to B2 so I'm going to be adding everything I'm going to be using this method for everything in a Google takeouts that I don't have to upload what I have done up to now is I've uploaded I've done a full backup methodology I've uploaded the whole export and as I said that is not sustainable the more data I'm generating through my Google account especially particularly these YouTube videos I'm going to have to do it start doing it more incrementally so I've just created a sync job and now I'm going to just go ahead and initiate this test takeout for these two YouTube videos so my two videos have just finished uploading the second ones in the process of processing so I'm going to go ahead and just do the takeout I'm going to give it just a few seconds for this to process and initiate the takeout so you can find Google takeouts by googling Google takeouts essentially or going to takeout.google.com now I'm not going to take everything in this demo account just to make this as quick as possible I'm just going to go for YouTube this one now you can you can have a look in here as to what's on offer what's actually very nice that you can click into all YouTube data so the only stuff in YouTube I would be really worried about losing and therefore which I would want to back up now when you when you're doing backups in general you want to keep stuff as lightweight as possible so I would the videos are really what's critical here for me and playlists I personally build a lot of YouTube playlists on listed ones for my own use and private ones and if YouTube vanished off the face of the earth I'd be pretty annoyed about using those two so I'm just going to go for playlist of which there are none on this account but just to demonstrate that in videos in format you don't typically get a choice for video it's just the original so there's not much that can be done there go ahead and initiate that now if you are on a remember what I said about videos being heavy so if you are using Linux as well you may as well utilize the fact that they offer a TGZ which we can easily uncompress Windows users can export TGZ they just need usually some additional software so I'm just going to do TGZ even though it's there's no need at this small the small data pool and that's it create the exports and now it's running so hopefully in a few minutes I'll be getting that notification email to say that the takeouts ready for download that was beautifully fast so one of the space of about three seconds I've got an email click on download your files and you just have to sign in again with your password and that's it it's 181 megabytes which is actually more than I was expecting for these two short videos but I guess one was five minutes now if the maximum size for a TGZ which is as he said a type of archive that's more typically used in Linux systems the maximum size for that is 50 gigs so if you've got a lot of videos you're gonna be getting a few different archives for download so that's downloaded now and what you can see by navigating into the folder structure is you have this folder called after takeout and if you do a bunch of takeout services you'll get YouTube contacts drive etc etc now what I did before my previous approach was I would just upload this whole archive takeout blah blah blah TGZ push that up to my and I use backblaze b2 for backup storage I recommend and I've no affiliation with back backblaze whatsoever I promise I just think it's really really good it's basically cloud storage that is really really cheap and it's for backup but the reason it's cheap is because you know it's designed for backup is their business so unlike using for example Amazon S3 Amazon AWS is both more complicated and it's not solely for backup so if you're using b2 you're getting better pricing you don't have to worry about stuff like putting it into S3 Glacier which is harder to get your data out so b2 was great so what I would do was I would just put these massive 20 gig folders upload upload those to b2 and of course that would take like sometimes two days and before I had my NAS I had to literally put a post it on my computer saying don't turn the thing off because we're doing a really big upload and I did this every six months just to protect my data and it was tedious so this method I'm just gonna show you now what I will be doing so what I've done is I've just exported that archive and I'm gonna go back to my DSM which is my Synology Managing Environment now what I would recommend doing is for example you're not gonna have demo YouTube and demo now you're gonna have to split these out I know this is really really painful if you have two or three YouTube channels you're gonna have to create there is no programmatic automatic way that I'm familiar with at the moment that I'm almost certain that there really is none to do this smartly you're gonna have to do this the first time give all your brand account names so I'm just gonna drop into demo and I'm just gonna I have my so what I've done is just navigated into my test export folder which contains takeout YouTube and YouTube music and there's only two folders one of those videos and there's just every video has an accompanying JSON file but you get the video in mp4 so all you need is the mp4 if you have a ton of these videos you're downloading more like 200 what you can do if you're using Linux of course it just create a folder just to speed things up for you called mp4 and then move everything dot mp4 into that folder called mp4 and you can see in the at the speed of light it's just moved those things in so that's just a little quick hack if you're moving stuff like one or two hundred videos you have you know you have to back up that amount so then basically you can just I'm gonna move this off to the side and you can just drag and drop and put in these mp4s and that's essentially it in about 10 seconds they're gonna move over the local area network up to your NES and basically the cloud sync is already in process you can see the cloud sync icon is changed from station or green up to this and they're in the they're on the NES and now they're in the process of uploading to back plays now basically what I mean here is in terms of my methodology you would repeat this process again however often you think it's necessary to back up your YouTube channel that could be once every three months or once every six months and you do the exact same thing as I've done here before but I've just put in a third video and empty thing called video three dot mp4 you would grab the whole thing again move it in here and you would click on skip so that's simply checking by file name and if the file name already exists now you do not want to do overwrite I will explain why because when it overwrites data when it's syncing up to b2 it's looking for differences in terms of the timestamp so you do not want to change those files you simply want to click on skip and in a second it's skipped these two videos it's put up you can see there's no information in it because it's empty but if you do that process you will you will not replicate data and you will simply if this if this was a job running for a second time you would just be backing up the you know the new videos since I last ran up to your account you wouldn't be deleting stuff but that's okay because you presumably want to keep your old videos in the backup anyway so guys that's basically it that's my methodology if you want to replicate this using you don't have an NES you can do this exact same thing just store a local folder for your backups just finally to reiterate Google take out extract a takeout put that on your desktop move that from your desktop to your NES or move it from one folder on your desktop called YouTube YouTube backups to and then if you just on the on the on the desktop you can use a sync tool directly to cloud storage and only have it some use something like our sync which will only sync the changes but you'll still need to copy from the new Google takeout into that folder it's syncing up or you can move it from your desktop onto the NES and simply up for the skip option in order to not re-copy the old files and then have that using cloud sync have that automatically sync up to s3 backblaze b2 dropbox google drive whatever you use for cloud backup storage that's it guys thank you for watching my video if you are interested in getting in touch my website is danielrosil.co.il thank you for watching