Hi guys i am new to linux.

I am trying to create a tar file from a different directory and want to be placed a specific directory.

I have tried this cmd

```
tar -cvf dailybackup.tar /root/filesfromlocalmachine/ -C /root/backup/

```

There is a folder in the name pf backup and i want the tar to be created there. But whenever i execute this the tar is been created at the folder where i am executing the command. Is there a way to create a tar file from a different folder.